It is currently Fri Nov 28, 2014 6:07 am Advanced search

Use value, not percentage, for pie chart?

Technical support, bug reports and more.

Use value, not percentage, for pie chart?

Postby fogcity » Tue Aug 17, 2010 11:01 pm

The highcharts pie chart seems to require that the value of each slice is supplied as a percentage. I would like the tooltip rollover for each slice to show not simply its percentage of the pie but also the value represented. For example: the "John" slice of the sales pie should show that he made 50% of all sales and that meant he sold 44 cars out of 88 total.

In this example, I'd like to supply the y-value as 44, and to have highcharts convert this to a percentage by adding up the y-values of all other slices before drawing the pie.

Any way to do this?
fogcity
 
Posts: 66
Joined: Tue Aug 17, 2010 10:56 pm

Re: Use value, not percentage, for pie chart?

Postby ereboos » Tue Aug 17, 2010 11:36 pm

ereboos
 
Posts: 29
Joined: Fri Aug 13, 2010 1:13 pm


Return to Highcharts Usage

Who is online

Users browsing this forum: Google [Bot] and 9 guests