-
Notifications
You must be signed in to change notification settings - Fork 1
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
Chart improvements #203
Comments
Affects new charts implemented by #169 |
There does not seem to be a solution for the labels in pie charts with this library. |
Current open issues: |
labels outside the chart are working with rose chart, but I guess this chart type is a special solution? |
It was just an input that this chart type shows labels outside |
Yeah, the chart seems to do that automatically. PieCharts have the label inside them and RoseCharts have them outside. There is a way to offset them into one direction, but this either affects ALL labels, so i can shift all labels down, right, up, left, or i calculate an individual offset for each label. That would be a possibility, but I have not yet found an exact way. I would first have to calculate the current position of the label myself with just the value and then calculate a necessary offset. Even if that is solved, a new problem arises then that we can't know if the label is then so much "offset" that it is actually now outside the whole layout area of the chart itself. It just does not seem that feasable at the moment. |
PieChart selection ticket: Currently only possible to select the line in the middle between elements. |
The pie label issue solution is here: |
Pie chart:
If you have long labels, the labels are inside the chart and overlap other areas in the chart. With short labels it looks better but only as long as the segment is big enough.
Same in chart legend. Label too long, overlaps other labels.
We could try if there's a feature in the chart library to move labels outside the chart and shorten the legend or set clipping areas?
If we can't fix it with existing API: open an issue for the chart library
The text was updated successfully, but these errors were encountered: