Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chart: Make ticks more configurable #263

Closed
johannes-wolf opened this issue Oct 20, 2023 · 2 comments
Closed

chart: Make ticks more configurable #263

johannes-wolf opened this issue Oct 20, 2023 · 2 comments
Labels
bug 🐛 Something isn't working lib:chart 💹
Milestone

Comments

@johannes-wolf
Copy link
Member

Provide options for:

  • -format
  • -decimals
@johannes-wolf johannes-wolf added bug 🐛 Something isn't working lib:chart 💹 labels Oct 20, 2023
johannes-wolf added a commit that referenced this issue Oct 20, 2023
johannes-wolf added a commit that referenced this issue Oct 20, 2023
Fixes #263. Add options for axis ticks.
@johannes-wolf johannes-wolf added this to the 0.2 milestone Oct 21, 2023
@dscso
Copy link
Contributor

dscso commented Dec 12, 2023

https://github.com/johannes-wolf/cetz/blob/0.2.0/src/lib/axes.typ#L232
I'd personally think removing some base numbers would be a good idea as e.g. 1.5 is not a really intuitive multiple... I think sticking to 1, 2, (maybe 3), 5, 10 would be more intuitive for reading charts.

Maybe this is also due to my lacking knowledge of the Einmaleins 😂

@johannes-wolf
Copy link
Member Author

johannes-wolf commented Dec 12, 2023

We can make this configurable, yes.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug 🐛 Something isn't working lib:chart 💹
Projects
None yet
Development

No branches or pull requests

2 participants