| Package | xp.charting |
| Class | public class CategoryAxis |
| Inheritance | CategoryAxis Axis ChartStyleClient ChartDisplayElement ProgrammaticSkin mx.core.FlexSprite |
| Method | Defined by | ||
|---|---|---|---|
|
Constructor
| CategoryAxis | ||
![]() |
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
| CategoryAxis | ||
![]() |
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
| CategoryAxis | ||
![]() |
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
| Axis | |
![]() |
calcInterval():void
| Axis | |
![]() |
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 | ||
![]() |
getDataMax():Number
| Axis | |
![]() |
getDataMin():Number
| Axis | |
![]() |
getDataType(value:*):String
Returns the type of data represented by value
| Axis | |
![]() |
getFormatter(type:String):IDataFormatter
| Axis | |
|
getIntervals():Array
| CategoryAxis | ||
![]() |
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
| CategoryAxis | ||
![]() |
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
Sets the label format strings
Called before the AxisItems are generated to allow subclasses to adjust the format strings before they are used
| Axis | |
|
setLabelSpace():void
| CategoryAxis | ||
![]() |
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 | |
| CategoryAxis | () | constructor |
public function CategoryAxis()Constructor
| decodeField | () | method |
public override function decodeField(items:Array, inputField:String, outputField:String):voidParameters
items:Array |
|
inputField:String |
|
outputField:String |
| getIntervals | () | method |
protected override function getIntervals():Array
Returns
Array |
| setAxisLabels | () | method |
protected override function setAxisLabels(data:Array):voidParameters
data:Array |
| setLabelSpace | () | method |
protected override function setLabelSpace():void
| updateAxisData | () | method |
public override function updateAxisData(cursor:IViewCursor):voidParameters
cursor:IViewCursor |