You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I just created a small test of a PieChart and noticed that apparently The values are not rendered in the same order as they are provided. When I provide the values [x,y,z] they are instead rendered as for example [y,x,z].
The text was updated successfully, but these errors were encountered:
I added an optional sort= property to the PieChart. It behaves like d3 pie.sort() https://github.com/mbostock/d3/wiki/Pie-Layout
Default is to sort by value, and if you set the prop to null no sorting will be done. You can also supply your own sort function. Will update Readme and publish update later today.
I just created a small test of a PieChart and noticed that apparently The values are not rendered in the same order as they are provided. When I provide the values [x,y,z] they are instead rendered as for example [y,x,z].
The text was updated successfully, but these errors were encountered: