YUI AS Component Documentation | All Packages | All Classes | Index | Frames No Frames |
Class HorizontalAxisRenderer

Package | com.yahoo.astra.fl.charts.axes
Class | public class HorizontalAxisRenderer
Inheritance | HorizontalAxisRenderer DefaultAxisRenderer fl.core.UIComponent
Implements | ICartesianAxisRenderer

The default horizontal axis renderer for a cartesian chart.

See also

com.yahoo.astra.fl.charts.CartesianChart

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined by
--- | --- | ---
|  | contentBounds : Rectangle Represents the area where content should be drawn within the axis. | DefaultAxisRenderer
|  | length : Number 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

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined by
--- | --- | ---
|  | HorizontalAxisRenderer() Constructor | HorizontalAxisRenderer
|  | updateAxis():void Calculates the `contentBounds` value for the axis renderer. | DefaultAxisRenderer

Styles
Hide Inherited Styles
Show Inherited Styles

| Style | Description | Defined by
--- | --- | --- | ---
|  | axisColor | Type: uint The line color for the axis. | DefaultAxisRenderer
|  | axisWeight | Type: int The line weight, in pixels, for the axis. | DefaultAxisRenderer
|  | hideOverlappingLabels | Type: Boolean If true, labels that overlap previously drawn labels on the axis will be hidden. | DefaultAxisRenderer
|  | labelDistance | Type: Number The distance, in pixels, between a label and the axis. | DefaultAxisRenderer
|  | labelRotation | Type: Number The angle, in degrees, of the labels on the axis. | DefaultAxisRenderer
|  | minorTickColor | Type: uint The line color for the minor ticks on the axis. | DefaultAxisRenderer
|  | minorTickLength | Type: Number The length of the minor ticks on the axis. | DefaultAxisRenderer
|  | minorTickPosition | Type: String The position of the minor ticks on the axis. | DefaultAxisRenderer
|  | minorTickWeight | Type: int The line weight, in pixels, for the minor ticks on the axis. | DefaultAxisRenderer
|  | showAxis | Type: Boolean If false, the axis is not drawn. | DefaultAxisRenderer
|  | showLabels | Type: Boolean If true, labels will be displayed on the axis. | DefaultAxisRenderer
|  | showMinorTicks | Type: Boolean If true, ticks will be displayed on the axis at minor positions. | DefaultAxisRenderer
|  | showTicks | Type: Boolean If true, ticks will be displayed on the axis. | DefaultAxisRenderer
|  | showTitle | Type: Boolean If true, the axis title will be displayed. | DefaultAxisRenderer
|  | tickColor | Type: uint The line color for the ticks on the axis. | DefaultAxisRenderer
|  | tickLength | Type: Number The length, in pixels, of the ticks on the axis. | DefaultAxisRenderer
|  | tickPosition | Type: String The position of the ticks on the axis. | DefaultAxisRenderer
|  | tickWeight | Type: int The line weight, in pixels, for the ticks on the axis. | DefaultAxisRenderer
|  | titleDistance | Type: Number The distance, in pixels, between a title and the axis labels. | DefaultAxisRenderer
|  | titleRotation | Type: Number The angle, in degrees, of the title on the axis. | DefaultAxisRenderer
|  | titleTextFormat | Type: TextFormat The TextFormat object to use to render the axis title label. | DefaultAxisRenderer

Constructor detail

HorizontalAxisRenderer | () | constructor

`public function HorizontalAxisRenderer()`

Constructor