Package | com.yahoo.astra.fl.charts.axes |
Interface | public interface ICartesianAxisRenderer extends IAxisRenderer |
Implementors | DefaultAxisRenderer |
See also
Property | Defined by | ||
---|---|---|---|
contentBounds : Rectangle [read-only]
Represents the area where content should be drawn within the axis.
| ICartesianAxisRenderer | ||
length : Number
The total length of the axis renderer, in pixels.
| IAxisRenderer | ||
majorUnitSetByUser : Boolean
Indicates whether the user explicitly set a major unit for the axis of this renderer.
| ICartesianAxisRenderer | ||
minorTicks : Array
An Array of AxisData objects specifying the positions of the minor ticks.
| IAxisRenderer | ||
orientation : String
Determines if the axis is displayed vertically or horizontally.
| ICartesianAxisRenderer | ||
outerTickOffset : Number
Indicates the number of pixels of an outer tick.
| ICartesianAxisRenderer | ||
ticks : Array
An Array of AxisData objects specifying the positions of the ticks.
| IAxisRenderer | ||
title : String
The title text to display on the axis.
| ICartesianAxisRenderer |
Method | Defined by | ||
---|---|---|---|
updateAxis():void
Calculates the
contentBounds value for the axis renderer. | ICartesianAxisRenderer |
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
majorUnitSetByUser | property |
majorUnitSetByUser:Boolean
[read-write]Indicates whether the user explicitly set a major unit for the axis of this renderer.
Implementation public function get majorUnitSetByUser():Boolean
public function set majorUnitSetByUser(value:Boolean):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
See also
outerTickOffset | property |
outerTickOffset:Number
[read-write]Indicates the number of pixels of an outer tick.
Implementation public function get outerTickOffset():Number
public function set outerTickOffset(value:Number):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
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.