View Full Version : Pie Chart with Multiple Labels

16 Aug 2011, 3:59 PM
Can you add two levels to the pie chart. For instance, you have the name field, and also the value field, both loaded into the pie pieces? I am positive that there is a way, but I havent seen anything in the API and my experimentation has failed me.

17 Aug 2011, 10:33 AM
Hi - I'm not sure exactly what you mean. You would like to have two different metrics on the pie? You could bind one store field to be the angle range and another one to be the length of the pie slice range. For example:

series: [{
type: 'pie',
angleField: 'data1',
lengthField: 'data2',
showInLegend: true,
highlight: false

I hope this helps,