gwatts / jquery.sparkline

A plugin for the jQuery javascript library to generate small sparkline charts directly in the browser
http://omnipotent.net/jquery.sparkline/
1.24k stars 278 forks source link

pie chart offset to match 'clock' #97

Open jbranc opened 10 years ago

jbranc commented 10 years ago

I can't really make any sense out of the pie chart offset. at 50-50 its a horizontal line. outside of that, for any 2 numbers (i.e. 80-20) its a seemingly random offset. Is there a way to make this match up with a 'clockface' type progression? where 25,75 would start at 'noon' and fill to 'quarter past', and the rest would be the 75?