title | description | author | tags | created | modified |
---|---|---|---|---|---|
Amazing Pie |
A pie chart widget for dashing, with a legend |
Michael Woffendin |
dashing, widget, chart, legend, pie, amazing |
2015 Jan 12 |
2015 Jan 12 |
Are you disappointed with Dashing's existing pie chart widgets? Then feast your eyes on the above screenshot and behold! The Pie chart widget to end all widgets!!
It's a pie chart with a legend. The center of the chart displays the total of all segments. It works well with up to 4 segments; any more and things get weird.
See the demo files for examples. Just give it a json array of objects with labels and values.
Just Dashing!
Not yet.
Ouch. If you don't like it, you can manually swap in your own by editing the coffeescript file on line 33.
YOUR FACE is broken. It only displays values on segments whose area is >10% of the chart's total area. This is to stop a bunch of numbers getting smushed together.