[flexcoders] Bar graph question

2009-02-08 Thread Vik
Hie I have the data like Date Country production 5-feb-09 IND 20 5-feb-09 US 15 4-Feb-09 IND 30 4-Feb-0 IND 40 I have to show this data as a bar char. Where horizontal axis should be date. Vertical axis will show production and chart will show 2 pillar per date (one for ind and another for US).

Re: [flexcoders] Bar graph question

2009-02-08 Thread Brendan Meutzner
Depending on how you'd like the data grouped on the y axis (ie, date or country), then you should restructure/group your data slightly to achieve. For example: Date India US feb 5 20 15 feb 4 30 40 Then use mx:verticalAxis mx:CategoryAxis categoryField=date/ /mx:verticalAxis