Not officially possible, but you might be able to make it work by:
- convert your values into logarithmic values using Math.log.
- specify the interval property on your vertical axis to be 1.
- use a label function on your verticalAxisRenderer to convert the
labels on
-Original Message-
From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Ely Greenfield
Sent: Wednesday, May 18, 2005 10:59 AM
To: flexcoders@yahoogroups.com
Subject: RE: [flexcoders] ColumnChart with logarithmic Y axis?
Not officially possible, but you might be able
@yahoogroups.com
Subject: RE: [flexcoders] ColumnChart with logarithmic Y axis?
Not officially possible, but you might be able to make it work by:
- convert your values into logarithmic values using Math.log.
- specify the interval property on your vertical axis to be 1.
- use a label
I suppose, but this:
LinearAxis scale=logarithmic /
Feels a little bit oxymoronic, don't you think?
Sure, that example does! :)
Doing it with a separate LogAxis would require, at a minimum, this
code:
LineChart
veritcalAxis
LogAxis /
/verticalAxis
Ah, I see. The problem is, mx:verticalAxis is the name of a
property, not
an object. MXML doesn't allow you to set properties on
properties...you
need to set the property to an object, then set a property of the
object.
...
You can still change the scale dynamically at runtime:
5 matches
Mail list logo