Skip to content

No x-axis values formatting #22

@Pandicon

Description

@Pandicon

For some reason it is not possible to format values on the x-axis. Is that intentional, or was it just forgotten about? :D
You can see that it is an issue in the code:
y-axis has formatting: https://github.com/Pegacraft/typst-plotting/blob/8d834689359b708ce75fe51be05eed45570e463e/plotst/axis.typ#L201
x-axis doesn't: https://github.com/Pegacraft/typst-plotting/blob/8d834689359b708ce75fe51be05eed45570e463e/plotst/axis.typ#L247
I am using a local copy of 0.1.0 and added formatting to the x-axis for my project and it works just fine, but there may be reasons why it may behave weirdly specifically on the x-axis that I am not aware of. However, I could definetely create a PR with my fix if it was wanted.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions