Packagexp.charting
Classpublic class CategoryAxis
InheritanceCategoryAxis Inheritance Axis Inheritance ChartStyleClient Inheritance ChartDisplayElement Inheritance ProgrammaticSkin Inheritance mx.core.FlexSprite



Public Properties
 PropertyDefined by
 InheritedaxisLabelFormat : String
The format sting to format values into axis labels
Axis
 InheritedaxisLabelFunction : Function
The user custom function to format values into axis labels
Axis
 InheritedaxisMode : int
Axis
 InheritedaxisOffset : int = 0
Axis
 InheritedbaseAtZero : 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
 InheritedcategoryField : String
The catgeory field
Axis
 Inheritedchart : IChartArea
ChartDisplayElement
 InheritedchartDesc : ChartDesc
ChartDisplayElement
 InheritedchartParent : IChart
ChartDisplayElement
 InheritedclassName : String
ChartStyleClient
 Inheriteddata : Array
The array of data for this axis
Axis
 InheriteddataLabelFormat : String
The format sting to format values into point labels
Axis
 InheriteddataLabelFunction : Function
The user custom function to format values into point labels
Axis
 InheriteddataProvider : Object
The source of the chart items.
Axis
 InheriteddataType : String = "String"
The type of data this axis represents Used to help in formatting the values for display
Axis
 InheriteddisplayName : String
The name or title to display in dataTips/dataLabels
Axis
 Inheritedheight : Number
ProgrammaticSkin
 Inheritedindex : int
Axis index
Axis
 InheritedinheritingStyles : Object
ChartStyleClient
 Inheritedinitialized : Boolean
ProgrammaticSkin
 Inheritedinterval : Number
Specifies the interval of major tick marks, labels and gridlines on the selected axis
Axis
 InheritedintervalCount : Number
num of labels displayed
Axis
 InheritedisHorizontal : Boolean
Is the axis displayed horizontally If false the axis is being displayed vertically
Axis
 InheritedisSubChart : Boolean
ChartDisplayElement
 Inheritedlength : Number
The length of the axis in pixels
Axis
 Inheritedmarkers : Array
Axis
 InheritedmaxDataValue : Number
The max value of the data
Axis
 InheritedmaxValue : Number
The max value of the axis
Axis
 InheritedmeasuredHeight : Number
The measured height of this object.
ChartDisplayElement
 InheritedmeasuredWidth : Number
The measured width of this object.
ChartDisplayElement
 InheritedminDataValue : Number
The min value of the data
Axis
 InheritedminorIntervalCount : int = 1
Specifies the number of minor tick marks and minor gridlines (if they are displayed) on the selected axis between major ticks
Axis
 InheritedminValue : Number
The max value of the axis
Axis
 InheritednestLevel : int
ProgrammaticSkin
 InheritednonInheritingStyles : Object
ChartStyleClient
 Inheritedparent : DisplayObjectContainer
ChartDisplayElement
 InheritedparseFormat : String
The format sting to parse data into values
Axis
 InheritedparseFunction : Function
The user custom function to parse data into values
Axis
 Inheritedplacement : String
lacement of axis left/right/top/bottom
Axis
 Inheritedprefix : String = ""
last label prefix
Axis
 InheritedprocessedDescriptors : Boolean
ProgrammaticSkin
 Inheritedrange : Number
The axis range
Axis
 InheritedstyleDeclaration : CSSStyleDeclaration
ChartStyleClient
 InheritedstyleName : Object
ChartStyleClient
 Inheritedsuffix : String = ""
last label suffix
Axis
 Inheritedticks : Array
array of axis tick descriptors
Axis
 Inheritedtitle : String
The name or title to display along the axis
Axis
 Inheritedtype : String
The axis type "x" or "y"
Axis
 InheritedupdateCompletePendingFlag : Boolean
ProgrammaticSkin
 Inheritedwidth : Number
ProgrammaticSkin
Protected Properties
 PropertyDefined by
 InheritedaxisBackground : Shape
Axis
 InheritedaxisChanged : Boolean = false
Axis
 Inherited_axisDataProvider : ICollectionView
Axis
 InheritedaxisLabelFormatter : IDataFormatter
Axis
 InheritedaxisLabels : Sprite
Axis
 Inherited_axisMode : int = 1
are labels displayed on the boundaries (NO_PAD_AXIS - 1) or within the boundaries (PAD_AXIS - 0)
Axis
 InheritedaxisStyleChanged : Boolean = true
Axis
 InheritedaxisStyles : Object
Axis
 InheritedaxisValueType : String = "catgeory"
The type of axis values catgeory or value
Axis
 Inherited_baseAtZero : Boolean = true
Axis
 Inherited_canHideLabels : Boolean
Axis
 Inherited_canRotateLabels : Boolean
Axis
 Inherited_canScaleLabels : Boolean
Axis
 Inherited_canStaggerLabels : Boolean
Axis
 Inherited_categoryField : String
Axis
 InheritedchangedStyles : Object
Axis
 Inherited_chartDataProvider : ICollectionView
Axis
 InheritedchildList : Array
ChartStyleClient
 Inherited_data : Array
Axis
 Inherited_dataLabelFormat : String
Axis
 InheriteddataLabelFormatter : IDataFormatter
Axis
 Inherited_dataLabelFunction : Function
Axis
 Inherited_dataProvider : ICollectionView
Axis
 InheriteddataProviderChanged : Boolean = false
Axis
 Inherited_deferLayout : Boolean = false
ProgrammaticSkin
 Inherited_explicitInterval : Number = NaN
Axis
 Inherited_explicitIntervalCount : Number
Axis
 Inherited_explicitMaxValue : Number = NaN
Axis
 Inherited_explicitMinValue : Number = NaN
Axis
 InheritedgridBackground : Shape
Axis
 InheritedgridForeground : Shape
Axis
 Inherited_interval : Number = 0
Axis
 Inherited_intervalCount : Number = 0
Axis
 InheritedinvalidateDisplayListFlag : Boolean = false
ProgrammaticSkin
 InheritedinvalidatePropertiesFlag : Boolean = false
ProgrammaticSkin
 InheritedinvalidateSizeFlag : Boolean = false
ProgrammaticSkin
 Inherited_labelFormat : String
Axis
 Inherited_labelFunction : Function
Axis
 Inherited_labelGap : int
Axis
 InheritedlabelHSpace : int = 0
The amount of horizontal space to reserve for each label
Axis
 Inherited_labelRotation : int
Axis
 Inherited_labelScale : Number = 1
The scale of a label
Axis
 InheritedlabelsChanged : Boolean = false
Axis
 InheritedlabelStyleChanged : Boolean = true
Axis
 InheritedlabelStyles : Object
Axis
 InheritedlabelVSpace : int = 0
The amount of vertical space to reserve for each label
Axis
 Inherited_markers : Array
Axis
 Inherited_maxDataValue : Number = NaN
Axis
 Inherited_maxValue : Number = -Infinity
Axis
 Inherited_minDataValue : Number = NaN
Axis
 Inherited_minValue : Number = Infinity
Axis
 InheritednullStroke : IStroke
[static]
Axis
 Inheritedowner : Object
ChartStyleClient
 Inherited_parent : DisplayObjectContainer
ChartDisplayElement
 Inherited_parseFormat : String
Axis
 InheritedparseFormatter : IDataFormatter
Axis
 Inherited_parseFunction : Function
Axis
 Inheritedseries : Array
The series object who have registered with this axis
Axis
 Inherited_showLabels : Boolean
Axis
 InheritedsizeChanged : Boolean = false
ProgrammaticSkin
 InheritedstyleParent : IStyleClient
ChartStyleClient
 InheritedstylesInitialized : Boolean = false
ChartStyleClient
 InheritedtextFieldList : Array
ChartStyleClient
Public Methods
 MethodDefined by
  
Constructor
CategoryAxis
 Inherited
addSeries(series:IAxisSeries):void
Adds a series to this axis Called by a a series to register itself with the axis
Axis
 Inherited
clearStyle(styleProp:String):void
ChartStyleClient
  
decodeField(items:Array, inputField:String, outputField:String):void
CategoryAxis
 Inherited
decodeValue(value:*):Number
Decode a single value into a number
Axis
 Inherited
ChartStyleClient
 Inherited
formatAxisLabel(value:*):String
Axis
 Inherited
formatAxisValue(value:*):String
Format a value for display on the axis
Axis
 Inherited
formatDataLabel(value:*):String
Axis
 Inherited
formatDataValue(value:*):String
Format a value for display in a DataTip
Axis
 Inherited
ChartStyleClient
 Inherited
Axis
 Inherited
getOrigin():Number
Axis
 Inherited
getScreenPosition(value:Number):Number
Returns the screen position of a given data value or index
Axis
 Inherited
getStyle(styleProp:String):*
ChartStyleClient
 Inherited
initElement(chart:IChartArea):void
ChartDisplayElement
 Inherited
Axis
 Inherited
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
move(x:Number, y:Number):void
Moves this object to the specified x and y coordinates.
ProgrammaticSkin
 Inherited
notifyStyleChangeInChildren(styleProp:String, recursive:Boolean):void
ChartStyleClient
 Inherited
parentChanged(p:DisplayObjectContainer):void
ChartStyleClient
 Inherited
regenerateStyleCache(recursive:Boolean):void
ChartStyleClient
 Inherited
registerEffects(effects:Array):void
ChartStyleClient
 Inherited
resetRange():void
Prepares the selected axis for new data by resetting scale values
Axis
 Inherited
Called by a Series to notify its underlying data has changed
Axis
 Inherited
setActualSize(newWidth:Number, newHeight:Number):void
Sets the height and width of this object.
ProgrammaticSkin
 Inherited
setStyle(styleProp:String, newValue:*):void
ChartStyleClient
 Inherited
styleChanged(styleProp:String):void
Axis
 Inherited
toScreen(items:Array, inputField:String, outputField:String, dimensionSize:int):void
Converts data value to screen coordinates
Axis
  
updateAxisData(cursor:IViewCursor):void
CategoryAxis
 Inherited
ChartDisplayElement
 Inherited
validateNow():void
Validate and update the properties and layout of this object and redraw it, if necessary.
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
validateSize(recursive:Boolean = false):void
ChartDisplayElement
Protected Methods
 MethodDefined by
 Inherited
activate():void
ChartDisplayElement
 Inherited
addedHandler(e:Event):void
ChartDisplayElement
 Inherited
adjustScale():void
Axis
 Inherited
calcInterval():void
Axis
 Inherited
calcRange():Boolean
Calculates the max,min,interval and interval count as required.
Axis
 Inherited
Axis
 Inherited
ChartDisplayElement
 Inherited
deactivate():void
ChartDisplayElement
 Inherited
deferLayout(state:Boolean):void
ProgrammaticSkin
 Inherited
drawAxis(unscaledWidth:Number, unscaledHeight:Number):void
Draw the axis
Axis
 Inherited
Axis
 Inherited
getDataMax():Number
Axis
 Inherited
getDataMin():Number
Axis
 Inherited
getDataType(value:*):String
Returns the type of data represented by value
Axis
 Inherited
Axis
  
getIntervals():Array
CategoryAxis
 Inherited
getParent():DisplayObjectContainer
ChartDisplayElement
 Inherited
Axis
 Inherited
getSeriesMax():Number
Axis
 Inherited
getSeriesMin():Number
Axis
 Inherited
Axis
 Inherited
ChartDisplayElement
 Inherited
initialize():void
Axis
 Inherited
ChartStyleClient
 Inherited
ChartStyleClient
 Inherited
Axis
 Inherited
Axis
 Inherited
Axis
 Inherited
measure():void
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
notifyTextFieldStyleChange(styleProp:String):void
ChartStyleClient
 Inherited
plotSizeChangedHandler(e:Event):void
ChartDisplayElement
 Inherited
removedHandler(e:Event):void
ChartDisplayElement
  
setAxisLabels(data:Array):void
CategoryAxis
 Inherited
setAxisTicks(data:Array, majorInterval:int, stagger:int):void
Set the isTick and disposition properties into the array of AxisItems
Axis
 Inherited
setChartDataProvider(value:Object):void
Axis
 Inherited
setDataProvider(value:ICollectionView):void
Axis
 Inherited
setIntervals(length:Number):void
Create the axis labels
Axis
 Inherited
setIntervalSpacing(data:Array):void
Sets the position value into the array of AxisItems
Axis
 Inherited
Sets the label format strings Called before the AxisItems are generated to allow subclasses to adjust the format strings before they are used
Axis
  
CategoryAxis
 Inherited
Axis
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draw the axis
Axis
 Inherited
Axis
 Inherited
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
Styles
 StyleDescriptionDefined by
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Specifies the line style for the origin.
Axis
 Inherited Type: String   CSS Inheritance: yes
The name of the CSS class selector to use when formatting the axis title.
Axis
 Inherited Type: Number   CSS Inheritance: no
Alpha level of the color defined by the backgroundColor property, of the image or SWF file defined by the backgroundImage style.
Axis
 Inherited Type: uint   Format: Color   CSS Inheritance: no
Background color of a component.
Axis
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Background color of the component when it is disabled.
Axis
 Inherited Type: Object   Format: File   CSS Inheritance: no
Background image of a component.
Axis
 Inherited Type: String   CSS Inheritance: no
Scales the image specified by backgroundImage to different percentage sizes.
Axis
 Inherited Type: Number   CSS Inheritance: no
Alpha level of the color defined by the borderColor property.
Axis
 Inherited Type: uint   Format: Color   CSS Inheritance: no
Color of the border.
Axis
 Inherited Type: String   CSS Inheritance: no
Bounding box sides.
Axis
 Inherited Type: Class   CSS Inheritance: no
The border skin of the component.
Axis
 Inherited Type: String   CSS Inheritance: no
Bounding box style.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Bounding box thickness.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether to hide labels as necessary to lay out correctly.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether to scale labels as necessary to lay out correctly.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether to scale labels as necessary to lay out correctly.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether to stagger labels on two label rows as necessary to lay out correctly.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Radius of component corners.
Axis
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of the drop shadow.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Boolean property that specifies whether the component has a visible drop shadow.
Axis
 Inherited Type: mx.graphics.IFill   CSS Inheritance: no
Specifies the fill pattern for alternating bands not defined by the fill property.
Axis
 Inherited Type: String   CSS Inheritance: no
Specifies the direction of the grid background.
Axis
 Inherited Type: int   CSS Inheritance: no
Specifies the number of tick marks between grid lines.
Axis
 Inherited Type: mx.graphics.IFill   CSS Inheritance: no
Specifies the fill pattern for every other horizontal band created by the grid lines.
Axis
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Specifies the line style for grid lines.
Axis
 Inherited Type: Number   CSS Inheritance: no
Specifies the label rotation.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Specifies the length of the minor tick marks on the axis, in pixels.
Axis
 Inherited Type: String   CSS Inheritance: no
Specifies where to draw the minor tick marks.
Axis
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Specifies the characteristics of the minor tick marks on the axis.
Axis
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Specifies the line style for the origin.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's right border and the right edge of its content area.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's left border and the left edge of its content area.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's right border and the right edge of its content area.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Number of pixels between the container's left border and the left edge of its content area.
Axis
 Inherited Type: String   CSS Inheritance: no
Direction of the drop shadow.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Distance of the drop shadow.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether to display the axis grid background.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether to display the axis grid lines.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether labels should appear along the axis.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Specifies whether to display the axis.
Axis
 Inherited Type: Boolean   CSS Inheritance: no
Determines whether to draw the origin.
Axis
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Specifies the length of the tick marks on the axis, in pixels.
Axis
 Inherited Type: String   CSS Inheritance: no
Specifies where to draw the tick marks.
Axis
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Specifies the characteristics of the tick marks on the axis.
Axis
Public Constants
 ConstantDefined by
 InheritedAXIS_PLACEMENT_BOTTOM : String = "bottom"
[static] The constant for the type of tick - inside the axis
Axis
 InheritedAXIS_PLACEMENT_LEFT : String = "left"
[static] The constant for the type of tick - cross the axis
Axis
 InheritedAXIS_PLACEMENT_RIGHT : String = "right"
[static] The constant for the type of tick - no tick mark
Axis
 InheritedAXIS_PLACEMENT_TOP : String = "top"
[static] The constant for the type of tick - outside the axis
Axis
 InheritedAXIS_VALUE_TYPE_CATEGORY : String = "catgeory"
[static] Constant for the axisValueType property for an axis which represents values as categories
Axis
 InheritedAXIS_VALUE_TYPE_VALUE : String = "value"
[static] Constant for the axisValueType property for an axis which represents values as values
Axis
 InheritedAXISX : String = "x"
[static] Constant for the axis type property for a x axis
Axis
 InheritedAXISY : String = "y"
[static] Constant for the axis type property for a y axis
Axis
 InheritedNO_PAD_AXIS : int = 1
[static] Constant for the axis mode property Usually catgeories and values start at the beginning of the axis and end at the end of the axis.
Axis
 InheritedPAD_AXIS : int = 0
[static] Constant for the axis mode property.
Axis
 InheritedTICK_PLACEMENT_CROSS : String = "cross"
[static] The constant for the type of tick - cross the axis
Axis
 InheritedTICK_PLACEMENT_INSIDE : String = "inside"
[static] The constant for the type of tick - inside the axis
Axis
 InheritedTICK_PLACEMENT_NONE : String = "none"
[static] The constant for the type of tick - no tick mark
Axis
 InheritedTICK_PLACEMENT_OUTSIDE : String = "outside"
[static] The constant for the type of tick - outside the axis
Axis
Protected Constants
 ConstantDefined by
 InheritedNESTLEVEL_AXIS : int = 10000
[static]
ChartDisplayElement
 InheritedNESTLEVEL_AXISSET : int = 10001
[static]
ChartDisplayElement
 InheritedNESTLEVEL_LABELS : int = 10002
[static]
ChartDisplayElement
 InheritedNESTLEVEL_SERIES : int = 1000
[static]
ChartDisplayElement
 InheritedNESTLEVEL_SERIESSET : int = 1001
[static]
ChartDisplayElement
Constructor detail
CategoryAxis()constructor
public function CategoryAxis()

Constructor

Method detail
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