[flexcoders] Re: CategoryAxis category order

2009-01-12 Thread Amy
--- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: Ok, so it looks like a (reasonably simple) way to do this is to set the dataProvider of the CategoryAxis to originalDataProvider.toArray ().reverse() on every update of originalDataProvider. A ListCollectionView to wrap

[flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Amy
--- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: When I have a data provider like [ { category : foo, val : 1 }, { category : bar, val : 2 },{ category : baz, val : 3 } ] and graph this on a BarChart as category vs. val, the values are graphed bottom to top.

RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
Sent: Sun 1/11/2009 5:52 AM To: flexcoders@yahoogroups.com Subject: [flexcoders] Re: CategoryAxis category order --- In flexcoders@yahoogroups.com, Maciek Sakrejda msakre...@... wrote: When I have a data provider like [ { category : foo, val : 1 }, { category : bar, val : 2 },{ category

RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
Subject: RE: [flexcoders] Re: CategoryAxis category order Thanks, Amy. The nature of how we use charts would make a solution based around modifying the axis a lot simpler, but I may need to fall back to this approach. I think the problem is that an axis is unaware of its orientation, and left

RE: [flexcoders] Re: CategoryAxis category order

2009-01-11 Thread Maciek Sakrejda
this solution works reasonably well for now. -Original Message- From: flexcoders@yahoogroups.com on behalf of Maciek Sakrejda Sent: Sun 1/11/2009 3:39 PM To: flexcoders@yahoogroups.com Subject: RE: [flexcoders] Re: CategoryAxis category order Hmm. No dice. Overriding describeData() to return