I concur, massaging the data is perhaps the way to go.  Another option would be 
to just 
generate your chart and rotate it 180 degrees ... but this might have other 
issues (i.e. 
upside down text, or data-tips, etc.)

I did a data massaging approach here:
http://blog.sunild.com/2008/08/inverting-chart-series.html

Two important things to note:

1) I used the dataFunction property of the AreaSeries (LineSeries in your case) 
to massage 
the data.  In my case I negated the value of each data point.  This modifies 
the data to be 
plotted, not the actual data itself.

2) I used the labelFunction property of the LinearAxis to format the labels.  
So even though 
my data was plotted as a negative number, the axis labels show them being 
positive.

I think you can achieve what you're looking for by doing something similar.

Sunil




--- In [email protected], "Tim Hoff" <[EMAIL PROTECTED]> wrote:
>
> 
> HI,
> 
> You're goung to have to massage the data to get your desired result. 
> Youcan also use a second dataProvider and layer it on top of the first
> dataProvider (alpha = 0), if you want to keep the labels intact.
> 
> -TH
> 
> --- In [email protected], "flexie_eric" <flexie_eric@>
> wrote:
> >
> > Can someone tell me how to to reverse the scale on an axis in flex so
> > that it decrements rather then increments.
> >
> > ie, if my x values are 0 to 10 on the x-axis i want the x scale to
> > show 10 to 0.
> >
>



Reply via email to