chartist-js / chartist

Simple responsive charts
https://chartist.dev
MIT License
13.35k stars 2.53k forks source link

reverseData is not reversing the series on Pie charts #924

Open josezulu opened 7 years ago

josezulu commented 7 years ago

It doesn't reverse the series of a pie chart, so the pie portions remain in the same order whether true or false. I just tried it on the examples page, editing the code, it does not reverse the pie chart or its series.

https://gionkunz.github.io/chartist-js/examples.html#simple-pie-chart

Add "reverseData: true," to the option object, the order isn't altered.

Or am I missing something perhaps?

JosefWN commented 7 years ago

Temp workaround: reverse series and labels.