-
QuestionI am working with a data series that consists of strings with values of "Low", "Medium", and "High". For building my chart, I've converted this list to integers (1, 2, 3) and used that to create columns. Is there an easy way to set my vertical axis labels to "L", "M", "H" rather than the current default of 0, 1, 2, 3? Vico version(s)2.0.1 UI framework(s)Jetpack Compose |
Beta Was this translation helpful? Give feedback.
Answered by
willeymr
Jan 26, 2025
Replies: 1 comment 2 replies
-
This can be achieved with a custom CartesianValueFormatter:
Then just this pass to your valueFormatter for your vertical axis. |
Beta Was this translation helpful? Give feedback.
2 replies
Answer selected by
willeymr
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This can be achieved with a custom CartesianValueFormatter:
Then just this pass to your valueFormatter for your vertical axis.