PIE CHART

i have a rails applications which can record various tasks
and times used to do those tasks within each day in a week,
now i want it to have the abbility of displaying the
percentage of time spent in each task in a pie chart. can
someone please show me the neccesary formatting of data and
other steps required for this to be done using gruff library

Don't know anything about Gruff, but what about using Google's Chart
API

http://code.google.com/apis/chart/

which lets you generate pie charts using URLs such as:
http://chart.apis.google.com/chart?cht=p3&chd=s:hW&chs=250x100&chl=Hello|World

Any help?

How about open-flash-chart? you can try.

A nice gem for google charts
http://www.railslodge.com/ruby_gems/10-googlecharts

AJS wrote: