Pie Multiple Series
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Model id="pieModel"> <data> <row> <fruit>A</fruit> <sales>2</sales> </row> <row> <fruit>B</fruit> <sales>4</sales> </row> <row> <fruit>C</fruit> <sales>1</sales> </row> </data> </mx:Model> <mx:ArrayCollection id="pieData" source="{pieModel.row}"/> <mx:Model id="pieModel2"> <data> <row> <fruit>A</fruit> <sales>1</sales> </row> <row> <fruit>B</fruit> <sales>12</sales> </row> <row> <fruit>C</fruit> <sales>4</sales> </row> </data> </mx:Model> <mx:ArrayCollection id="pieData2" source="{pieModel2.row}"/> <mx:PieChart height="100%" width="100%"> <mx:series> <mx:PieSeries field="sales" labelField="fruit" dataProvider="{pieData}" labelPosition="none"/> <mx:PieSeries field="sales" labelField="fruit" dataProvider="{pieData2}" labelPosition="callout"/> </mx:series> </mx:PieChart> </mx:Application>