| Package | com.yahoo.astra.fl.charts.axes |
| Class | public class DefaultAxisRenderer |
| Inheritance | DefaultAxisRenderer fl.core.UIComponent |
| Implements | ICartesianAxisRenderer |
| Subclasses | HorizontalAxisRenderer, VerticalAxisRenderer |
This class is not meant to be instantiated directly! It is an abstract base class.
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 | ||
| majorUnitSetByUser : Boolean
Indicates whether the major unit is user-defined or generated by the axis.
| 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 | ||
| outerTickOffset : Number | DefaultAxisRenderer | ||
| position : String
Indicates alignment of axis
| 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 | ||
|---|---|---|---|
|
Constructor.
| DefaultAxisRenderer | ||
|
updateAxis():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
| majorUnitSetByUser | property |
majorUnitSetByUser:Boolean [read-write]Indicates whether the major unit is user-defined or generated by the axis.
Implementation public function get majorUnitSetByUser():Boolean
public function set majorUnitSetByUser(value:Boolean):void
| 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
| outerTickOffset | property |
outerTickOffset:Number [read-write]Implementation
public function get outerTickOffset():Number
public function set outerTickOffset(value:Number):void
| position | property |
position:String [read-write]Indicates alignment of axis
Implementation public function get position():String
public function set position(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()Constructor.
| updateAxis | () | method |
public function updateAxis():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.