-
-
Notifications
You must be signed in to change notification settings - Fork 1.9k
pie chart hover label hidden #3654
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
Comments
Thanks for posting! What are your graph's width, height and margins here? Or better yet, can you share a reproducible codepen showing the problem? Thank you! |
Hi @etpinard Here is a codepen with the example. Thanks for taking a look |
I'll submit a patch that constrains the hover labels to fit inside the graph's bounding box, but just so you know @destradafilm your long green label still won't fit: that will have to wait for #1964 |
it's been almost 5 years since I opened this case - I came across the same bug again. Here is a codepen screenshot of the label being clipped out of visible chart area |
long hoverlabels get hidden outside of plot boundries instead of making sure they fit within the plot container's range
the label for this slice in the pie chart is '1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16' but you can only see from
7
onward.Maybe the label placement can be different and if the label is wider than the chart, it can wrap text?
The text was updated successfully, but these errors were encountered: