| Package | xp.charting |
| Class | public class LinearAxis |
| Inheritance | LinearAxis Axis ChartStyleClient ChartDisplayElement ProgrammaticSkin mx.core.FlexSprite |
| Subclasses | LogAxis |
| Property | Defined by | ||
|---|---|---|---|
![]() | axisLabelFormat : String
The format sting to format values into axis labels
| Axis | |
![]() | axisLabelFunction : Function
The user custom function to format values into axis labels
| Axis | |
![]() | axisMode : int | Axis | |
![]() | axisOffset : int = 0 | Axis | |
![]() | baseAtZero : Boolean
Used to set the minimum value of a numerical axis to zero even if the data minimum value does not start at zero.
| Axis | |
![]() | categoryField : String
The catgeory field
| Axis | |
![]() | chart : IChartArea | ChartDisplayElement | |
![]() | chartDesc : ChartDesc | ChartDisplayElement | |
![]() | chartParent : IChart | ChartDisplayElement | |
![]() | className : String | ChartStyleClient | |
![]() | data : Array
The array of data for this axis
| Axis | |
![]() | dataLabelFormat : String
The format sting to format values into point labels
| Axis | |
![]() | dataLabelFunction : Function
The user custom function to format values into point labels
| Axis | |
![]() | dataProvider : Object
The source of the chart items.
| Axis | |
![]() | dataType : String = "String"
The type of data this axis represents
Used to help in formatting the values for display
| Axis | |
![]() | displayName : String
The name or title to display in dataTips/dataLabels
| Axis | |
![]() | height : Number | ProgrammaticSkin | |
![]() | index : int
Axis index
| Axis | |
![]() | inheritingStyles : Object | ChartStyleClient | |
![]() | initialized : Boolean | ProgrammaticSkin | |
![]() | interval : Number
Specifies the interval of major tick marks, labels and gridlines on the selected axis
| Axis | |
![]() | intervalCount : Number
num of labels displayed
| Axis | |
![]() | isHorizontal : Boolean
Is the axis displayed horizontally
If false the axis is being displayed vertically
| Axis | |
![]() | isSubChart : Boolean | ChartDisplayElement | |
![]() | length : Number
The length of the axis in pixels
| Axis | |
![]() | markers : Array | Axis | |
![]() | maxDataValue : Number
The max value of the data
| Axis | |
![]() | maxValue : Number
The max value of the axis
| Axis | |
![]() | measuredHeight : Number
The measured height of this object.
| ChartDisplayElement | |
![]() | measuredWidth : Number
The measured width of this object.
| ChartDisplayElement | |
![]() | minDataValue : Number
The min value of the data
| Axis | |
![]() | minorIntervalCount : int = 1
Specifies the number of minor tick marks and minor gridlines (if they are displayed) on the selected axis between major ticks
| Axis | |
![]() | minValue : Number
The max value of the axis
| Axis | |
![]() | nestLevel : int | ProgrammaticSkin | |
![]() | nonInheritingStyles : Object | ChartStyleClient | |
![]() | parent : DisplayObjectContainer | ChartDisplayElement | |
![]() | parseFormat : String
The format sting to parse data into values
| Axis | |
![]() | parseFunction : Function
The user custom function to parse data into values
| Axis | |
![]() | placement : String
lacement of axis left/right/top/bottom
| Axis | |
![]() | prefix : String = ""
last label prefix
| Axis | |
![]() | processedDescriptors : Boolean | ProgrammaticSkin | |
![]() | range : Number
The axis range
| Axis | |
| scale : Number = 1
scale factor from data to pixels
| LinearAxis | ||
| scaleUnit : Number = 1
Returns or sets the scale unit of this axis.
| LinearAxis | ||
![]() | styleDeclaration : CSSStyleDeclaration | ChartStyleClient | |
![]() | styleName : Object | ChartStyleClient | |
![]() | suffix : String = ""
last label suffix
| Axis | |
![]() | ticks : Array
array of axis tick descriptors
| Axis | |
![]() | title : String
The name or title to display along the axis
| Axis | |
![]() | type : String
The axis type "x" or "y"
| Axis | |
![]() | updateCompletePendingFlag : Boolean | ProgrammaticSkin | |
![]() | width : Number | ProgrammaticSkin | |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor
| LinearAxis | ||
![]() |
addSeries(series:IAxisSeries):void
Adds a series to this axis
Called by a a series to register itself with the axis
| Axis | |
![]() |
clearStyle(styleProp:String):void
| ChartStyleClient | |
|
decodeField(items:Array, inputField:String, outputField:String):void
| LinearAxis | ||
![]() |
decodeValue(value:*):Number
Decode a single value into a number
| Axis | |
![]() |
determineTextFormatFromStyles():UITextFormat
| ChartStyleClient | |
![]() |
formatAxisLabel(value:*):String
| Axis | |
![]() |
formatAxisValue(value:*):String
Format a value for display on the axis
| Axis | |
![]() |
formatDataLabel(value:*):String
| Axis | |
![]() |
formatDataValue(value:*):String
Format a value for display in a DataTip
| Axis | |
![]() |
getClassStyleDeclarations():Array
| ChartStyleClient | |
![]() | Axis | ||
![]() |
getOrigin():Number
| Axis | |
![]() |
getScreenPosition(value:Number):Number
Returns the screen position of a given data value or index
| Axis | |
![]() |
getStyle(styleProp:String):*
| ChartStyleClient | |
![]() |
initElement(chart:IChartArea):void
| ChartDisplayElement | |
![]() |
invalidateAxis():void
| Axis | |
![]() |
invalidateDisplayList():void
| ProgrammaticSkin | |
![]() |
invalidateProperties():void
| ProgrammaticSkin | |
![]() |
invalidateSize():void
| ProgrammaticSkin | |
![]() |
move(x:Number, y:Number):void
Moves this object to the specified x and y coordinates.
| ProgrammaticSkin | |
![]() |
notifyStyleChangeInChildren(styleProp:String, recursive:Boolean):void
| ChartStyleClient | |
![]() |
parentChanged(p:DisplayObjectContainer):void
| ChartStyleClient | |
![]() |
regenerateStyleCache(recursive:Boolean):void
| ChartStyleClient | |
![]() |
registerEffects(effects:Array):void
| ChartStyleClient | |
![]() |
resetRange():void
Prepares the selected axis for new data by resetting scale values
| Axis | |
![]() |
seriesDataChangedHandler(e:Event):void
Called by a Series to notify its underlying data has changed
| Axis | |
![]() |
setActualSize(newWidth:Number, newHeight:Number):void
Sets the height and width of this object.
| ProgrammaticSkin | |
![]() |
setStyle(styleProp:String, newValue:*):void
| ChartStyleClient | |
![]() |
styleChanged(styleProp:String):void
| Axis | |
![]() |
toScreen(items:Array, inputField:String, outputField:String, dimensionSize:int):void
Converts data value to screen coordinates
| Axis | |
![]() |
updateAxisData(cursor:IViewCursor):void
Load the data from the cursor
| Axis | |
![]() |
validateDisplayList():void
| ChartDisplayElement | |
![]() |
validateNow():void
Validate and update the properties and layout of this object
and redraw it, if necessary.
| ProgrammaticSkin | |
![]() |
validateProperties():void
| ProgrammaticSkin | |
![]() |
validateSize(recursive:Boolean = false):void
| ChartDisplayElement | |
| Method | Defined by | ||
|---|---|---|---|
![]() |
activate():void
| ChartDisplayElement | |
![]() |
addedHandler(e:Event):void
| ChartDisplayElement | |
|
adjustScale():void
| LinearAxis | ||
|
calcInterval():void
| LinearAxis | ||
![]() |
calcRange():Boolean
Calculates the max,min,interval and interval count as required.
| Axis | |
![]() |
commitProperties():void
| Axis | |
![]() |
createChildren():void
| ChartDisplayElement | |
![]() |
deactivate():void
| ChartDisplayElement | |
![]() |
deferLayout(state:Boolean):void
| ProgrammaticSkin | |
![]() |
drawAxis(unscaledWidth:Number, unscaledHeight:Number):void
Draw the axis
| Axis | |
![]() | Axis | ||
|
getAxisSpacing(n:int):int
| LinearAxis | ||
|
getDataMax():Number
| LinearAxis | ||
|
getDataMin():Number
| LinearAxis | ||
![]() |
getDataType(value:*):String
Returns the type of data represented by value
| Axis | |
|
getFormatter(type:String):IDataFormatter
| LinearAxis | ||
|
getIntervals():Array
| LinearAxis | ||
![]() |
getParent():DisplayObjectContainer
| ChartDisplayElement | |
![]() | Axis | ||
![]() |
getSeriesMax():Number
| Axis | |
![]() |
getSeriesMin():Number
| Axis | |
![]() |
getStyleProperties():void
| Axis | |
![]() |
initHierarchy():void
| ChartDisplayElement | |
![]() |
initialize():void
| Axis | |
![]() |
initializeStyles():void
| ChartStyleClient | |
![]() |
initTextFields():void
| ChartStyleClient | |
![]() |
invalidateFormatters():void
| Axis | |
![]() |
invalidateLabels():void
| Axis | |
![]() |
invalidateRange():void
| Axis | |
![]() |
measure():void
| ProgrammaticSkin | |
![]() |
nestLevelChanged():void
| ProgrammaticSkin | |
![]() |
notifyTextFieldStyleChange(styleProp:String):void
| ChartStyleClient | |
![]() |
plotSizeChangedHandler(e:Event):void
| ChartDisplayElement | |
![]() |
removedHandler(e:Event):void
| ChartDisplayElement | |
|
setAxisLabels(data:Array):void
| LinearAxis | ||
![]() |
setAxisTicks(data:Array, majorInterval:int, stagger:int):void
Set the isTick and disposition properties into the array of AxisItems
| Axis | |
![]() |
setChartDataProvider(value:Object):void
| Axis | |
![]() |
setDataProvider(value:ICollectionView):void
| Axis | |
![]() |
setIntervals(length:Number):void
Create the axis labels
| Axis | |
![]() |
setIntervalSpacing(data:Array):void
Sets the position value into the array of AxisItems
| Axis | |
|
setLabelFormats():void
| LinearAxis | ||
|
setLabelSpace():void
| LinearAxis | ||
![]() |
updateAxisConfig():void
| Axis | |
![]() |
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draw the axis
| Axis | |
![]() |
updateStyleProperties():void
| Axis | |
![]() |
validateRange():Boolean
Ensures the axis min/max and interval are correct
This is called during the commit stage
It presumes that any dependent properties have been updated by this stage
| Axis | |
| scale | property |
public var scale:Number = 1scale factor from data to pixels
| scaleUnit | property |
public var scaleUnit:Number = 1Returns or sets the scale unit of this axis.
| LinearAxis | () | constructor |
public function LinearAxis()Constructor
| adjustScale | () | method |
protected override function adjustScale():void
| calcInterval | () | method |
protected override function calcInterval():void
| decodeField | () | method |
public override function decodeField(items:Array, inputField:String, outputField:String):voidParameters
items:Array |
|
inputField:String |
|
outputField:String |
| getAxisSpacing | () | method |
protected function getAxisSpacing(n:int):intParameters
n:int |
int |
| getDataMax | () | method |
protected override function getDataMax():Number
Returns
Number |
| getDataMin | () | method |
protected override function getDataMin():Number
Returns
Number |
| getFormatter | () | method |
protected override function getFormatter(type:String):IDataFormatterParameters
type:String |
IDataFormatter |
| getIntervals | () | method |
protected override function getIntervals():Array
Returns
Array |
| setAxisLabels | () | method |
protected override function setAxisLabels(data:Array):voidParameters
data:Array |
| setLabelFormats | () | method |
protected override function setLabelFormats():void
| setLabelSpace | () | method |
protected override function setLabelSpace():void