epochjs / epoch

A general purpose, real-time visualization library.
http://epochjs.github.io/epoch
MIT License
4.97k stars 279 forks source link

Pie charts that don't add up to 100 #222

Open BenMcLeanHRBlock opened 8 years ago

BenMcLeanHRBlock commented 8 years ago

Epoch pie charts should be able to display values which don't add up to 100. For instance, if there's only one data item and it says 42, then we should be seeing a 42% slice of pie and the rest blank. Currently, when I try this, the pie chart fails to render.

Also, it would be nice to be able to display a big number in the center of a donut chart. Lots of people seem to want that on their web sites these days.