-
-
Notifications
You must be signed in to change notification settings - Fork 131
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
Bottom label truncated sometimes #776
Comments
Hello! Thanks for the report. In Vico 1, Please consider updating to Vico 2.0.0 Alpha 22 once it’s available. The behavior observed in Vico 1, while suboptimal, isn’t a bug, and Vico 1 receives only bug fixes. A possible workaround for Vico 1 is to manually add some padding, which you can do via Please also note that, by default, some padding is added to axis labels, making them wider than their text. You may want to remove this padding. Let me know if you need any help doing so. Finally, I wanted to mention that the Vico 1 documentation appears to wrongly suggest that |
Vico 2.0.0 Alpha 22 is now available. |
@hadys7s, it is supported, but we need to see your code to help you achieve the desired result. Please share a runnable snippet, but under your discussion, not under this unrelated issue. |
okay thank u |
done please check and thanks for the quick reply and for ur help really appreciate it @Gowsky |
I’m adding the “done in beta” label because, as per my previous comment, the documentation error doesn’t affect Vico 2, which is currently in beta. It looks like I forgot to add the appropriate label previously. |
Vico 1.16.0 Alpha 1 addresses the documentation inaccuracy. |
How to reproduce
There are around 20 points
var spacing = 20/3
itemPlacer = AxisItemPlacer.Horizontal.default(spacing = spacing, offset = spacing / 3, addExtremeLabelPadding = true),
Observed behavior
Expected behavior
The label should not truncated providing there are plenty of spaces.
Vico version(s)
1.15.0-alpha.1
Android version(s)
wearos 30
Additional information
Sometimes it happen, but sometimes it don't (provided with dynamic data)
Version 1.15
The text was updated successfully, but these errors were encountered: