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

d3.layout.pie order #406

Closed
murci opened this issue Dec 13, 2011 · 1 comment
Closed

d3.layout.pie order #406

murci opened this issue Dec 13, 2011 · 1 comment
Milestone

Comments

@murci
Copy link

murci commented Dec 13, 2011

When returning the arcs, pie() doesn´t preserve the original order. The last data.map function should use index.indexOf(i) instead of index[i] to recover original order.

You can test this problem with this data [5, 30, 15]

@mbostock
Copy link
Member

Fixed by #409.

bstaats pushed a commit to bstaats/d3 that referenced this issue Jan 5, 2012
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants