1 Reply Latest reply on Apr 12, 2010 9:56 AM by matthew horn

    Charting Question : How to manipulate Legend's labels


      I'm using a PieChart Control that uses dynamic data.



      <mx:PieChart id="gendersChart">
                <mx:PieSeries nameField="gender" field="count"/>                    
      <mx:Legend dataProvider="{gendersChart}">




      For example, nameField value is = "male" and "female" for two wedges of pie chart, that is fine.



      Legend control renders "male" and "female" as well, takes the values from the same nameField.

      How can i change those dynamic values at runtime? is there any legend label function or something?