Vertical Axis as the data series
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="horizontal"> <mx:Model id="salesModel"> <data> <row> <fruit>A</fruit> <sales>1</sales> </row> <row> <fruit>B</fruit> <sales>2</sales> </row> <row> <fruit>C</fruit> <sales>3</sales> </row> </data> </mx:Model> <mx:ArrayCollection id="salesData" source="{salesModel.row}"/> <mx:Panel title="Bar Chart" height="100%" width="100%"> <mx:BarChart dataProvider="{salesData}" height="100%" width="100%"> <mx:verticalAxis> <mx:CategoryAxis dataProvider="{salesData}" categoryField="fruit"/> </mx:verticalAxis> <mx:series> <mx:BarSeries xField="sales" yField="fruit"/> </mx:series> </mx:BarChart> </mx:Panel> </mx:Application>