Package | com.yahoo.astra.fl.charts.axes |
Class | public class DefaultAxisRenderer |
Inheritance | DefaultAxisRenderer ![]() |
Implements | ICartesianAxisRenderer |
See also
Property | Defined by | ||
---|---|---|---|
contentBounds : Rectangle [read-only]
Represents the area where content should be drawn within the axis.
| DefaultAxisRenderer | ||
length : Number [read-only]
The total length of the axis renderer, in pixels.
| DefaultAxisRenderer | ||
minorTicks : Array
An Array of AxisData objects specifying the positions of the minor ticks.
| DefaultAxisRenderer | ||
orientation : String
Determines if the axis is displayed vertically or horizontally.
| DefaultAxisRenderer | ||
ticks : Array
An Array of AxisData objects specifying the positions of the ticks.
| DefaultAxisRenderer | ||
title : String
The title text to display on the axis.
| DefaultAxisRenderer |
Method | Defined by | ||
---|---|---|---|
DefaultAxisRenderer(orientation:String)
Constructor.
| DefaultAxisRenderer | ||
getStyleDefinition():Object
[static]
| DefaultAxisRenderer | ||
updateBounds():void
Calculates the
contentBounds value for the axis renderer. | DefaultAxisRenderer |
contentBounds | property |
contentBounds:Rectangle
[read-only]
Represents the area where content should be drawn within the axis.
This value is used to determine the containing chart's own
contentBounds
property.
public function get contentBounds():Rectangle
length | property |
length:Number
[read-only]The total length of the axis renderer, in pixels.
Implementation public function get length():Number
minorTicks | property |
minorTicks:Array
[read-write]An Array of AxisData objects specifying the positions of the minor ticks.
Implementation public function get minorTicks():Array
public function set minorTicks(value:Array):void
orientation | property |
orientation:String
[read-write]Determines if the axis is displayed vertically or horizontally.
Implementation public function get orientation():String
public function set orientation(value:String):void
ticks | property |
ticks:Array
[read-write]An Array of AxisData objects specifying the positions of the ticks.
Implementation public function get ticks():Array
public function set ticks(value:Array):void
title | property |
title:String
[read-write]The title text to display on the axis.
Implementation public function get title():String
public function set title(value:String):void
DefaultAxisRenderer | () | constructor |
public function DefaultAxisRenderer(orientation:String)
Constructor.
Parametersorientation:String |
getStyleDefinition | () | method |
public static function getStyleDefinition():Object
Returns
Object |
updateBounds | () | method |
public function updateBounds():void
Calculates the contentBounds
value for the axis renderer.
Seperating this function from the draw method optimizes processing time,
and it allows the chart to synchronize its axes.