Pie Set Fill Colors
<?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>1</sales> </row> <row> <fruit>C</fruit> <sales>3</sales> </row> </data> </mx:Model> <mx:ArrayCollection id="pieData" source="{pieModel.row}"/> <mx:PieChart height="100%" width="100%"> <mx:series> <mx:PieSeries field="sales" labelField="fruit" dataProvider="{pieData}" labelPosition="callout"> <mx:fills> <mx:SolidColor color="#000000"/> <mx:SolidColor color="#999999"/> <mx:SolidColor color="#FFFFFF"/> </mx:fills> </mx:PieSeries> </mx:series> </mx:PieChart> </mx:Application>