--- 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. That is, category foo is on the bottom, then bar, then
> baz at the top. Is there a way to reverse this order, and have the
> categories as foo, bar, baz bottom-to-top without having to re-sort 
the
> dataprovider (it is used elsewhere) or copy the data in reverse order
> (I'd rather extend the charting components to do the "right thing")?

How bout just creating a ListCollectionView that points to the same 
data and sort that?

Reply via email to