Skip to content
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

Take selectionShift into account when displaying pie chart #309

Closed
pmairoldi opened this issue Aug 19, 2015 · 0 comments · Fixed by #313
Closed

Take selectionShift into account when displaying pie chart #309

pmairoldi opened this issue Aug 19, 2015 · 0 comments · Fixed by #313

Comments

@pmairoldi
Copy link
Collaborator

For pie charts, the chart will get cut off when selected since the main circle does not take into consideration how far the selection will go. A fix would be to take the selectionShift into account when drawing the main circle. So instead of the current width and height it would be width - (selectionShift * 2) and height - (selectionShift * 2). This would make the chart inset by the selectionShift so that when selected the chart would fit inside the view. An example of this happening can be seen below.

clipped-pie-chart

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant