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

Pie chart gives console error when changing number of segments is animated #55

Closed
mcnuttandrew opened this issue Apr 18, 2016 · 4 comments
Labels
Milestone

Comments

@mcnuttandrew
Copy link
Contributor

The pie chart yields a bunch of console errors like this

d3.js:8756 Error: Invalid value for <path> attribute d="M109.35191368826634,412.2430898706445A426.5,426.5 0 0.000006912,1 -225.26700899816143,362.14965805466653L-144.9842766002235,233.08532321974673Z"

when animation is on and the number of segments is increasing or decreasing. This doesn't appear to affect the functionality of the chart, but is a little worrisome.

@chrisirhc chrisirhc added this to the 1.0 milestone Apr 18, 2016
@chrisirhc
Copy link
Contributor

Marking this for a later release since it doesn't affect functionality.

@bulyonov
Copy link
Contributor

Apparently d3 is a source of problems here: it is not able to animate arcs from the initial state without the d property.

@bulyonov
Copy link
Contributor

bulyonov commented Apr 19, 2016

Further investigation showed d3 generates a proper d property for an arc, but is not able to do a good interpolation of that (arcs have certain restrictions in values)

@bulyonov bulyonov modified the milestones: 0.6.x, 1.0 Aug 26, 2016
@bulyonov
Copy link
Contributor

Fixed in #126

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

No branches or pull requests

3 participants