Thank you for reporting this bug. We will make it our priority to review this report.
  1. #1
    Sencha User
    Join Date
    Aug 2011
    Posts
    37
    Vote Rating
    1
    Voyd is on a distinguished road

      0  

    Default Unanswered: Pie Chart with Multiple Labels

    Unanswered: Pie Chart with Multiple Labels


    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.

  2. #2
    Sencha User
    Join Date
    Nov 2010
    Posts
    168
    Vote Rating
    0
    philogb is on a distinguished road

      0  

    Default


    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:

    Code:
                     series: [{
                        type: 'pie',
                        angleField: 'data1',
                        lengthField: 'data2',
                        showInLegend: true,
                        highlight: false
                     }]
    I hope this helps,

Thread Participants: 1