-
-
Notifications
You must be signed in to change notification settings - Fork 6k
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
Multiline axis labels are cut off #2244
Comments
Have you changed any library code? Or just using world wrapping feature? It looks like the offset is wrong. |
@liuxuan30: thanks for your answer. I haven't changed anything on the library. I'm using value formatter to convert numbers into that multiline string you see on X axis (words separated by "\n") Not sure what you mean with "unless you return x axis values the same as data values". I really need X axis labels to be aligned to points, otherwise my chart make no sense. Could you please clarify? I could add some code if necessary. |
I Resolved the alignment problem using granularity property = 1. I still have the issue of labels being cut off. On double tap problem gets resolved as you can see on this video |
Fixed the cutt off problem. I was calling Thanks. |
glad to close :) |
Thanks for writing this library! It's a really great component :)
I'm having an issue with multiline labels. Depending on the amount of data to be shown on x axis, labels are cut off or not. Here you have two examples
Working Labels
Non Working Labels
Data is exactly the same, on second chart I limited the amount of X items to be shown. If I tap on the second chart, it gets fixed but points and labels still unaligned.
Is there any way to be sure that label won't be ever cut off? I was looking a way to force the height of the chart to be sure it's always the same but couldn't find any.
Also, I see that on the first chart labels and points are vertically aligned while on the second they are not. Is it possible also to force 1 point -> 1 label and make them aligned vertically?
The text was updated successfully, but these errors were encountered: