Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
An AxisLabel object represents a single label on the chart axis.
AxisLabel objects are generated by IAxis objects.
The AxisLabel object is also passed as the data
to custom AxisLabel objects that implement the IDataRenderer interface.
public var position:Number
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The position, specified as a value between 0 and 1,
of the label along the axis.
An AxisLabel with a position of 0 is placed at the minimum value
of the axis, while an AxisLabel with a position of 1 is placed
at the maximum value of the axis.
public var text:String
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The text label that is actually rendered along the axis.
public var value:Object
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The value that the label represents.
The particular type of the value property
is specific to the axis that generated the label.
For example, a LinearAxis might generate numeric values,
while a DateTimeAxis might generate Date instance values.
public function AxisLabel(position:Number = 0, value:Object = null, text:String = null)
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
Parameters | position:Number (default = 0 ) — The position, specified as a value between 0 and 1,
of the label along the axis.
|
|
| value:Object (default = null ) — The value the label represents.
|
|
| text:String (default = null ) — The text label that is actually rendered along the axis.
|
Mon Feb 18 2013, 01:33 PM +11:00