| Package | xp.charting |
| Class | public class AxisSeries |
| Inheritance | AxisSeries Series ChartStyleClient ChartDisplayElement ProgrammaticSkin mx.core.FlexSprite |
| Implements | IAxisSeries |
| Subclasses | AreaSeries, BarSeries, BubbleSeries, CurveSeries, HLOCSeries, LineSeries, ScatterSeries, StepSeries, StickSeries |
| Property | Defined by | ||
|---|---|---|---|
![]() | annotations : Array
The annotations for this series
| Series | |
| axisMode : Number [read-only]
The axis mode for this series
| AxisSeries | ||
![]() | chart : IChartArea | ChartDisplayElement | |
![]() | chartDesc : ChartDesc | ChartDisplayElement | |
![]() | chartParent : IChart | ChartDisplayElement | |
![]() | className : String | ChartStyleClient | |
![]() | dataEffectIn : ChartEffect | Series | |
![]() | dataEffectOut : ChartEffect | Series | |
![]() | dataProvider : Object
The source of the chart items.
| Series | |
![]() | dataTipFormat : String
The format for the data tip display
For axis series the elements are
{0} = series Name
{1} = xAxis Name
{2} = x value
{3} = yAxis Name
{4} = y value
{5} = Annotation
The default value is <b>{0}</b><br/>,<i>{1}:</i>,{2}\n,<i>{3}:</i>,{4},{5}
For pie series the elements are
{0} = label
{1} = value
{2} = percent
The default value is {0}\r{2}
| Series | |
![]() | dataTipFunction : Function | Series | |
![]() | displayName : String = ""
name for this series
| Series | |
![]() | graphMode : String = "2D"
The default chart type one of pie2D, pie25D, pie3D, doughnut
| Series | |
![]() | height : Number | ProgrammaticSkin | |
![]() | inheritingStyles : Object | ChartStyleClient | |
![]() | initialized : Boolean | ProgrammaticSkin | |
![]() | isFilledArea : Boolean = false
is the area filled this series
| Series | |
![]() | isRotated : Boolean
Indicates whether this series is rendered horizontally (rotated)
| Series | |
![]() | isSubChart : Boolean | ChartDisplayElement | |
![]() | items : Array
The array of DataItems represented by this series
| Series | |
![]() | labelFormat : String
The format for the data label display
For axis series the elements are
{0} = series Name
{1} = xAxis Name
{2} = x value
{3} = yAxis Name
{4} = y value
{5} = Annotation
The default value is <b>{0}</b><br/>,<i>{1}:</i>,{2}\n,<i>{3}:</i>,{4},{5}
For pie series the elements are
{0} = label
{1} = value
{2} = percent
The default value is {2}
| Series | |
![]() | labelFunction : Function | Series | |
![]() | labelOffset : Number = 0
controls the distance between a label and the pie
| Series | |
![]() | labelPosition : String
Specifies how to render value labels.
| Series | |
![]() | legendFormat : String
The format for the legend display
For axis series the elements are
{0} = series Name
{1} = xAxis Name
{2} = x value
{3} = yAxis Name
{4} = y value
{5} = Annotation
The default value is <b>{0}</b><br/>,<i>{1}:</i>,{2}\n,<i>{3}:</i>,{4},{5}
For pie series the elements are
{0} = label
{1} = value
{2} = percent
The default value is {0} [{2}]
| Series | |
![]() | legendFunction : Function | Series | |
![]() | length : int
The number of DataItems in this series
| Series | |
![]() | measuredHeight : Number
The measured height of this object.
| ChartDisplayElement | |
![]() | measuredWidth : Number
The measured width of this object.
| ChartDisplayElement | |
![]() | nestLevel : int | ProgrammaticSkin | |
![]() | nonInheritingStyles : Object | ChartStyleClient | |
![]() | parent : DisplayObjectContainer | ChartDisplayElement | |
![]() | processedDescriptors : Boolean | ProgrammaticSkin | |
![]() | selectedItem : DataPoint | Series | |
![]() | selectedText : String | Series | |
| seriesSet : SeriesSet
[read-only]
| AxisSeries | ||
![]() | styleDeclaration : CSSStyleDeclaration | ChartStyleClient | |
![]() | styleName : Object | ChartStyleClient | |
![]() | trackMouse : Boolean = false | Series | |
![]() | updateCompletePendingFlag : Boolean | ProgrammaticSkin | |
![]() | useGradient : Boolean = false
use a gradient fill for series
| Series | |
![]() | volume : Number
Allows you to specify a volume for data series markers
By adjusting the volume, you can modify the amount of space between data points in the series.
| Series | |
![]() | width : Number | ProgrammaticSkin | |
| xAxis : Axis
[read-only]
x axis that this series is assigned to
| AxisSeries | ||
| xField : String
The name of the field in the data that will be used as the source for the x value of this series
If the data is a simple array this property is ignored
| AxisSeries | ||
| yAxis : Axis
[read-only]
y axis that this series is assigned to
| AxisSeries | ||
| yField : String
The name of the field in the data that will be used as the source for the y value of this series
If the data is a simple array this property is ignored
| AxisSeries | ||
| Method | Defined by | ||
|---|---|---|---|
| AxisSeries | |||
|
axesChanged():void
Notifes the series that parent SeriesSet's assigned chartAxes may have been changed.
| AxisSeries | ||
![]() |
clearStyle(styleProp:String):void
| ChartStyleClient | |
![]() |
determineTextFormatFromStyles():UITextFormat
| ChartStyleClient | |
![]() |
getClassStyleDeclarations():Array
| ChartStyleClient | |
![]() |
getDataPoint(x:int, y:int, sensitivity:int, checkXY:Boolean = true):DataPoint
| Series | |
![]() |
getField(fieldName:String):DataFieldDesc
| Series | |
|
getMax(axisType:String):Number
| AxisSeries | ||
|
getMin(axisType:String):Number
| AxisSeries | ||
|
getMinInterval(axisType:String):Number
| AxisSeries | ||
![]() |
getStyle(styleProp:String):*
| ChartStyleClient | |
![]() |
hasField(fieldName:String):Boolean
| Series | |
![]() |
initElement(chart:IChartArea):void
| ChartDisplayElement | |
![]() |
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 | |
![]() |
setActualSize(newWidth:Number, newHeight:Number):void
Sets the height and width of this object.
| ProgrammaticSkin | |
|
setChartDimensions():void
Set the physical pixel size of the chart
| AxisSeries | ||
![]() |
setStyle(styleProp:String, newValue:*):void
| ChartStyleClient | |
![]() |
styleChanged(styleProp:String):void
Whenever any style changes, redraw this skin.
| Series | |
![]() |
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 | |
|
axesChangedHandler(e:Event):void
| AxisSeries | ||
|
axisModeChangeHandler(e:Event):void
Called when the x axis mode changes
| AxisSeries | ||
|
axisRangeChangedHandler(e:Event):void
Called when the axis range changes
| AxisSeries | ||
![]() |
chartStateChangedHandler(e:StateChangeEvent):void
| Series | |
|
checkDataPoint(x:int, y:int, sensitivity:int, checkXY:Boolean = true):DataPoint
| AxisSeries | ||
![]() |
commitProperties():void
| Series | |
![]() |
createChildren():void
| ChartDisplayElement | |
|
createLabelInstance():Object
| AxisSeries | ||
![]() |
deactivate():void
| ChartDisplayElement | |
![]() |
deferLayout(state:Boolean):void
| ProgrammaticSkin | |
|
drawDropLines():void
| AxisSeries | ||
|
drawLabel(item:*, i:int, x:int, y:int, position:String = null):void
| AxisSeries | ||
|
drawLabels():void
| AxisSeries | ||
|
drawMarkers():void
| AxisSeries | ||
|
drawSeries():void
draw this series
| AxisSeries | ||
![]() |
getFill(index:int = -1):IFill
| Series | |
|
getFormattedText(item:DataItem, type:String):String
| AxisSeries | ||
![]() |
getLegendData():Array
| Series | |
![]() | Series | ||
![]() | Series | ||
![]() |
getParent():DisplayObjectContainer
| ChartDisplayElement | |
![]() |
getParsedDataTipFormat():Array
| Series | |
![]() |
getParsedLabelFormat():Array
| Series | |
![]() |
getParsedLegendFormat():Array
| Series | |
|
getSeriesDataFields():Array
| AxisSeries | ||
![]() |
getStroke(index:int = -1):IStroke
| Series | |
![]() | Series | ||
![]() |
initHierarchy():void
| ChartDisplayElement | |
|
initialize():void
| AxisSeries | ||
![]() |
initializeStyles():void
| ChartStyleClient | |
![]() |
initProperties():void
| Series | |
![]() |
initTextFields():void
| ChartStyleClient | |
![]() |
invalidateDataScale():void
| Series | |
![]() |
invalidateFields():void
| Series | |
![]() |
invalidateLegendData():void
| Series | |
![]() |
invalidateSeriesData():void
| Series | |
![]() |
measure():void
| ProgrammaticSkin | |
![]() |
nestLevelChanged():void
| ProgrammaticSkin | |
![]() |
notifyTextFieldStyleChange(styleProp:String):void
| ChartStyleClient | |
![]() |
plotSizeChangedHandler(e:Event):void
| ChartDisplayElement | |
![]() |
removedHandler(e:Event):void
| ChartDisplayElement | |
|
renderItems():void
| AxisSeries | ||
|
resetForRenderSeries():void
Clear all the draw surfaces
| AxisSeries | ||
![]() |
setChartDataProvider(value:Object):void
| Series | |
![]() |
setData(cursor:IViewCursor):void
| Series | |
![]() |
setDataPoint(item:DataItem):void
| Series | |
![]() |
setDataProvider(value:ICollectionView):void
| Series | |
|
setOrientation(isHorizontal:Boolean = true):void
Sets the orientation of the series
| AxisSeries | ||
![]() |
setSelectedItem(item:DataPoint):void
| Series | |
![]() |
setShowCursor(value:Boolean):void
| Series | |
![]() |
setShowDataTips(value:Boolean):void
| Series | |
![]() |
setShowLabels(value:Boolean):void
| Series | |
![]() |
setTrackMouse(value:Boolean):void
| Series | |
|
updateChartStyles():void
| AxisSeries | ||
|
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draw the series
| AxisSeries | ||
![]() |
updateFields():void
| Series | |
|
updateRenderConfig():void
update any configuration needed by the renderer
| AxisSeries | ||
![]() |
updateSeriesData():void
Initializes the SeriesData object for the new dataProvider
| Series | |
![]() |
validateData():void
| Series | |
| _axisMode | property |
protected var _axisMode:Number = 1
| axisMode | property |
axisMode:Number [read-only]The axis mode for this series
Implementation public function get axisMode():Number
| dropLines | property |
protected var dropLines:Shape
| _dropLineStroke | property |
protected var _dropLineStroke:IStroke
| graphicsLayer | property |
protected var graphicsLayer:Shape
| markers | property |
protected var markers:Shape
| seriesSet | property |
| _showDropLines | property |
protected var _showDropLines:Boolean = truecontrols whether drop lines are shown
| _xAxis | property |
protected var _xAxis:Axis
| xAxis | property |
xAxis:Axis [read-only]x axis that this series is assigned to
Implementation public function get xAxis():Axis
| _xField | property |
protected var _xField:String
| xField | property |
xField:String [read-write]The name of the field in the data that will be used as the source for the x value of this series If the data is a simple array this property is ignored
Implementation public function get xField():String
public function set xField(value:String):void
| _yAxis | property |
protected var _yAxis:Axis
| yAxis | property |
yAxis:Axis [read-only]y axis that this series is assigned to
Implementation public function get yAxis():Axis
| _yField | property |
protected var _yField:String
| yField | property |
yField:String [read-write]The name of the field in the data that will be used as the source for the y value of this series If the data is a simple array this property is ignored
Implementation public function get yField():String
public function set yField(value:String):void
| AxisSeries | () | constructor |
public function AxisSeries()
| axesChanged | () | method |
public function axesChanged():voidNotifes the series that parent SeriesSet's assigned chartAxes may have been changed. The series will amend it axis properties and register itself with the new chartAxes
| axesChangedHandler | () | method |
protected function axesChangedHandler(e:Event):voidParameters
e:Event |
| axisModeChangeHandler | () | method |
protected function axisModeChangeHandler(e:Event):voidCalled when the x axis mode changes
Parameterse:Event |
| axisRangeChangedHandler | () | method |
protected function axisRangeChangedHandler(e:Event):voidCalled when the axis range changes
Parameterse:Event |
| checkDataPoint | () | method |
protected override function checkDataPoint(x:int, y:int, sensitivity:int, checkXY:Boolean = true):DataPointParameters
x:int |
|
y:int |
|
sensitivity:int |
|
checkXY:Boolean (default = true) |
DataPoint |
| createLabelInstance | () | method |
protected override function createLabelInstance():Object
Returns
Object |
| drawDropLines | () | method |
protected function drawDropLines():void
| drawLabel | () | method |
protected override function drawLabel(item:*, i:int, x:int, y:int, position:String = null):voidParameters
item:* |
|
i:int |
|
x:int |
|
y:int |
|
position:String (default = null) |
| drawLabels | () | method |
protected function drawLabels():void
| drawMarkers | () | method |
protected function drawMarkers():void
| drawSeries | () | method |
protected override function drawSeries():voiddraw this series
| getFormattedText | () | method |
protected override function getFormattedText(item:DataItem, type:String):StringParameters
item:DataItem |
|
type:String |
String |
| getMax | () | method |
public function getMax(axisType:String):NumberParameters
axisType:String |
Number |
| getMin | () | method |
public function getMin(axisType:String):NumberParameters
axisType:String |
Number |
| getMinInterval | () | method |
public function getMinInterval(axisType:String):NumberParameters
axisType:String |
Number |
| getSeriesDataFields | () | method |
protected override function getSeriesDataFields():Array
Returns
Array |
| initialize | () | method |
protected override function initialize():void
| renderItems | () | method |
protected function renderItems():void
| resetForRenderSeries | () | method |
protected function resetForRenderSeries():voidClear all the draw surfaces
| setChartDimensions | () | method |
public override function setChartDimensions():voidSet the physical pixel size of the chart
| setOrientation | () | method |
protected function setOrientation(isHorizontal:Boolean = true):voidSets the orientation of the series
ParametersisHorizontal:Boolean (default = true) |
| updateChartStyles | () | method |
protected override function updateChartStyles():void
| updateDisplayList | () | method |
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):voidDraw the series
ParametersunscaledWidth:Number |
|
unscaledHeight:Number |
| updateRenderConfig | () | method |
protected function updateRenderConfig():voidupdate any configuration needed by the renderer