Package | com.flexicious.components.charts.axis |
Interface | public interface IAxis extends flash.events.IEventDispatcher, mx.core.IUIComponent, mx.core.IInvalidating |
Implementors | HorizontalAxis, VerticalAxis |
Classes implement this interface to provide range definition functionality.
Property | Defined By | ||
---|---|---|---|
chart : CartesianChart | IAxis | ||
displayName : String [read-only]
The name of the axis. | IAxis | ||
labelRotation : Number
The degrees to rotate the label by
| IAxis | ||
labelXOffset : Number
To accomodate various positioning scenarios, the default calculation of the labels
can be changed. | IAxis | ||
labelYOffset : Number
To accomodate various positioning scenarios, the default calculation of the labels
can be changed. | IAxis | ||
rangeGap : Number
Distance between the edge of the dial, and the edge of the
range arc as well as the needle tip. | IAxis | ||
tickEndValue : Number
The numeric value to assicoate with the endAngle. | IAxis | ||
tickLabelFactory : IFactory
The factory used to instantiate the tick labels. | IAxis | ||
tickLabelFunction : Function
The label function that determines the label for the tick. | IAxis | ||
tickLabelPrecision : Number
Precision of the tick labels
| IAxis | ||
tickMajorColor : uint
The color of the major tick
Default: white
| IAxis | ||
tickMajorLabelStyleName : String
The style name to apply to the major tick labels
Default: tickMajorLabel
| IAxis | ||
tickMajorLength : uint
The length of the major tick
Default: 22
| IAxis | ||
tickMajorStartOffset : Number
The start offset at which to being drawing the major tick. | IAxis | ||
tickMajorStep : Number
The numeric difference between two major ticks. | IAxis | ||
tickMajorThickness : int
The thickness of the major tick
Default: 2
| IAxis | ||
tickMinorColor : uint
The color of the minor tick
Default: white
| IAxis | ||
tickMinorLabelStyleName : String
The style name ot apply to the minor tick labels
Default: tickMinorLabel
| IAxis | ||
tickMinorLength : uint
The length of the minor tick
Default: 16
| IAxis | ||
tickMinorStartOffset : Number
The start offset at which to being drawing the minor tick. | IAxis | ||
tickMinorStep : Number
The numeric difference between two minor ticks
Default: 5
| IAxis | ||
tickMinorThickness : int
The thickness of the minor tick
Default: 2
| IAxis | ||
tickShowMajorLabels : Boolean
Whether or not to show major tick labels
Default: true
| IAxis | ||
tickShowMinorLabels : Boolean
Whether or not to show values for minor tick labels
Default: false
| IAxis | ||
tickStartValue : Number
The numeric value to assicoate with the startAngle. | IAxis | ||
tickSteps : Array
For custom drawn ticks, where we provide the tick steps. | IAxis | ||
title : String [read-only]
The text for the title displayed along the axis. | IAxis |
Method | Defined By | ||
---|---|---|---|
invalidateTicks():void
Rebuilds the axis
| IAxis |
chart | property |
chart:CartesianChart
public function get chart():CartesianChart
public function set chart(value:CartesianChart):void
displayName | property |
displayName:String
[read-only] The name of the axis. If set, Flex uses this name to format DataTip controls.
public function get displayName():String
labelRotation | property |
labelRotation:Number
The degrees to rotate the label by
public function get labelRotation():Number
public function set labelRotation(value:Number):void
labelXOffset | property |
labelXOffset:Number
To accomodate various positioning scenarios, the default calculation of the labels can be changed. This property lets you move the labels by a specific amount to the left or right
public function get labelXOffset():Number
public function set labelXOffset(value:Number):void
labelYOffset | property |
labelYOffset:Number
To accomodate various positioning scenarios, the default calculation of the labels can be changed. This property lets you move the labels by a specific amount to the top or bottom
public function get labelYOffset():Number
public function set labelYOffset(value:Number):void
rangeGap | property |
rangeGap:Number
Distance between the edge of the dial, and the edge of the range arc as well as the needle tip.
public function get rangeGap():Number
public function set rangeGap(value:Number):void
tickEndValue | property |
tickEndValue:Number
The numeric value to assicoate with the endAngle. In other words, the end of the dial scale.
public function get tickEndValue():Number
public function set tickEndValue(value:Number):void
tickLabelFactory | property |
tickLabelFactory:IFactory
The factory used to instantiate the tick labels. Default: spark.components.Label
public function get tickLabelFactory():IFactory
public function set tickLabelFactory(value:IFactory):void
tickLabelFunction | property |
tickLabelFunction:Function
The label function that determines the label for the tick. Gets the default text that the tick would have gotten, as well as the tick index.
public function get tickLabelFunction():Function
public function set tickLabelFunction(value:Function):void
tickLabelPrecision | property |
tickLabelPrecision:Number
Precision of the tick labels
public function get tickLabelPrecision():Number
public function set tickLabelPrecision(value:Number):void
tickMajorColor | property |
tickMajorColor:uint
The color of the major tick Default: white
public function get tickMajorColor():uint
public function set tickMajorColor(value:uint):void
tickMajorLabelStyleName | property |
tickMajorLabelStyleName:String
The style name to apply to the major tick labels Default: tickMajorLabel
public function get tickMajorLabelStyleName():String
public function set tickMajorLabelStyleName(value:String):void
tickMajorLength | property |
tickMajorLength:uint
The length of the major tick Default: 22
public function get tickMajorLength():uint
public function set tickMajorLength(value:uint):void
tickMajorStartOffset | property |
tickMajorStartOffset:Number
The start offset at which to being drawing the major tick. This is the inner position, i.e. towards the center. The distance from the edge of the rangeGap the top of the tick Default: 18
public function get tickMajorStartOffset():Number
public function set tickMajorStartOffset(value:Number):void
tickMajorStep | property |
tickMajorStep:Number
The numeric difference between two major ticks. Default: 20
public function get tickMajorStep():Number
public function set tickMajorStep(value:Number):void
tickMajorThickness | property |
tickMajorThickness:int
The thickness of the major tick Default: 2
public function get tickMajorThickness():int
public function set tickMajorThickness(value:int):void
tickMinorColor | property |
tickMinorColor:uint
The color of the minor tick Default: white
public function get tickMinorColor():uint
public function set tickMinorColor(value:uint):void
tickMinorLabelStyleName | property |
tickMinorLabelStyleName:String
The style name ot apply to the minor tick labels Default: tickMinorLabel
public function get tickMinorLabelStyleName():String
public function set tickMinorLabelStyleName(value:String):void
tickMinorLength | property |
tickMinorLength:uint
The length of the minor tick Default: 16
public function get tickMinorLength():uint
public function set tickMinorLength(value:uint):void
tickMinorStartOffset | property |
tickMinorStartOffset:Number
The start offset at which to being drawing the minor tick. This is the inner position, i.e. towards the center. The distance from the edge of the rangeGap the top of the tick Default: 11
public function get tickMinorStartOffset():Number
public function set tickMinorStartOffset(value:Number):void
tickMinorStep | property |
tickMinorStep:Number
The numeric difference between two minor ticks Default: 5
public function get tickMinorStep():Number
public function set tickMinorStep(value:Number):void
tickMinorThickness | property |
tickMinorThickness:int
The thickness of the minor tick Default: 2
public function get tickMinorThickness():int
public function set tickMinorThickness(value:int):void
tickShowMajorLabels | property |
tickShowMajorLabels:Boolean
Whether or not to show major tick labels Default: true
public function get tickShowMajorLabels():Boolean
public function set tickShowMajorLabels(value:Boolean):void
tickShowMinorLabels | property |
tickShowMinorLabels:Boolean
Whether or not to show values for minor tick labels Default: false
public function get tickShowMinorLabels():Boolean
public function set tickShowMinorLabels(value:Boolean):void
tickStartValue | property |
tickStartValue:Number
The numeric value to assicoate with the startAngle. In other words, the beginning of the dial scale.
public function get tickStartValue():Number
public function set tickStartValue(value:Number):void
tickSteps | property |
tickSteps:Array
For custom drawn ticks, where we provide the tick steps. Used by horizontal and vertical axes for charts
public function get tickSteps():Array
public function set tickSteps(value:Array):void
title | property |
title:String
[read-only] The text for the title displayed along the axis.
public function get title():String
invalidateTicks | () | method |
public function invalidateTicks():void
Rebuilds the axis