Replies: 2 comments 2 replies
-
Hi @mak1nt0sh. It works this way by design so that the minimum, maximum, and 0 y axis values are all labeled. As you noted, you can override this behavior with However, we can add APIs that use the same step at the top and bottom even when the step/count is determined automatically. So I'm converting this to a discussion as an "idea". |
Beta Was this translation helpful? Give feedback.
2 replies
-
Any update on making steps for positive/negative axis values the same? |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
How to reproduce
Create a line chart with both positive and negative values.
Observed behavior
Using
VerticalAxis.ItemPlacer.step()
you get:Using
VerticalAxis.ItemPlacer.count()
you get:Expected behavior
Steps should be the same for positive/negative
Vico version(s)
2.0.0-alpha.28
Android version(s)
Any
Additional information
Using manual step value works correctly.
itemPlacer = remember { VerticalAxis.ItemPlacer.step(step = { 5000.00 }) },
Beta Was this translation helpful? Give feedback.
All reactions