Give more space to labels #441
-
Beta Was this translation helpful? Give feedback.
Answered by
patrickmichalik
Oct 21, 2023
Replies: 1 comment 5 replies
-
Hello! Could you please provide a complete, runnable example? To accurately determine what’s going on, we need to be able to reproduce the problem. Please note that |
Beta Was this translation helpful? Give feedback.
5 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Thank you! The problem appears to stem from the misuse of
AxisValueFormatter
. To hide unwanted labels, please use a customAxisItemPlacer.Horizontal
implementation instead. The documentation for theAxisItemPlacer.Horizontal
functions describes what they are to return. I would also suggest decreasing or removing the labels’ padding, which you can do via thehorizontalPadding
andverticalPadding
parameters ofaxisLabelComponent
.