Packagexp.charting
Classpublic class CandlestickSeries
InheritanceCandlestickSeries Inheritance HLOCSeries Inheritance AxisSeries Inheritance Series Inheritance ChartStyleClient Inheritance ChartDisplayElement Inheritance ProgrammaticSkin Inheritance mx.core.FlexSprite

Represents financial data as a series of candlesticks representing the high, low, opening, and closing values of a data series. The top and bottom of the vertical line in each candlestick represent the high and low values for the datapoint, while the top and bottom of the filled box represent the opening and closing values. Each candlestick is filled differently depending on whether the closing value for the datapoint is higher or lower than the opening value.

MXML Syntaxexpanded Hide MXML Syntax

The <mx:CandlestickSeries> tag inherits all the properties of its parent classes, and the following properties:

  <mx:CandlestickSeries
    Styles
    downFill="IFill; no default"
    upFill="IFill; no default"
  />
  


Public Properties
 PropertyDefined by
 Inheritedannotations : Array
The annotations for this series
Series
 InheritedaxisMode : Number
The axis mode for this series
AxisSeries
 Inheritedchart : IChartArea
ChartDisplayElement
 InheritedchartDesc : ChartDesc
ChartDisplayElement
 InheritedchartParent : IChart
ChartDisplayElement
 InheritedclassName : String
ChartStyleClient
 InheritedcloseField : String = "close"
HLOCSeries
 InheriteddataEffectIn : ChartEffect
Series
 InheriteddataEffectOut : ChartEffect
Series
 InheriteddataProvider : Object
The source of the chart items.
Series
 InheriteddataTipFormat : 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
 InheriteddataTipFunction : Function
Series
 InheriteddisplayName : String = ""
name for this series
Series
 InheritedgraphMode : String = "2D"
The default chart type one of pie2D, pie25D, pie3D, doughnut
Series
 Inheritedheight : Number
ProgrammaticSkin
 InheritedhighField : String = "hi"
HLOCSeries
 InheritedinheritingStyles : Object
ChartStyleClient
 Inheritedinitialized : Boolean
ProgrammaticSkin
 InheritedisFilledArea : Boolean = false
is the area filled this series
Series
 InheritedisRotated : Boolean
Indicates whether this series is rendered horizontally (rotated)
Series
 InheritedisSubChart : Boolean
ChartDisplayElement
 Inheriteditems : Array
The array of DataItems represented by this series
Series
 InheritedlabelFormat : 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
 InheritedlabelFunction : Function
Series
 InheritedlabelOffset : Number = 0
controls the distance between a label and the pie
Series
 InheritedlabelPosition : String
Specifies how to render value labels.
Series
 InheritedlegendFormat : 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
 InheritedlegendFunction : Function
Series
 Inheritedlength : int
The number of DataItems in this series
Series
 InheritedlowField : String = "lo"
HLOCSeries
 InheritedmeasuredHeight : Number
The measured height of this object.
ChartDisplayElement
 InheritedmeasuredWidth : Number
The measured width of this object.
ChartDisplayElement
 InheritednestLevel : int
ProgrammaticSkin
 InheritednonInheritingStyles : Object
ChartStyleClient
 InheritedopenField : String = "open"
HLOCSeries
 Inheritedparent : DisplayObjectContainer
ChartDisplayElement
 InheritedprocessedDescriptors : Boolean
ProgrammaticSkin
 InheritedselectedItem : DataPoint
Series
 InheritedselectedText : String
Series
 InheritedseriesSet : SeriesSet
AxisSeries
 InheritedstyleDeclaration : CSSStyleDeclaration
ChartStyleClient
 InheritedstyleName : Object
ChartStyleClient
 InheritedtrackMouse : Boolean = false
Series
 InheritedupdateCompletePendingFlag : Boolean
ProgrammaticSkin
 InheriteduseGradient : Boolean = false
use a gradient fill for series
Series
 Inheritedvolume : 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
 Inheritedwidth : Number
ProgrammaticSkin
 InheritedxAxis : Axis
x axis that this series is assigned to
AxisSeries
 InheritedxField : 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
 InheritedyAxis : Axis
y axis that this series is assigned to
AxisSeries
 InheritedyField : 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
Protected Properties
 PropertyDefined by
 Inherited_axisMode : Number = 1
AxisSeries
 Inherited_chartDataProvider : ICollectionView
Series
 Inherited_chartLabels : LabelCache
Series
 InheritedchartLabels : LabelCache
Series
 InheritedchartStyleChanged : Boolean = true
Series
 InheritedchartStyles : Object
Series
 InheritedchildList : Array
ChartStyleClient
 Inherited_dataEffectIn : ChartEffect
Series
 Inherited_dataEffectOut : ChartEffect
Series
 InheriteddataItemClass : Class
Series
 Inherited_dataProvider : ICollectionView
Series
 InheriteddataProviderChanged : Boolean = false
Series
 Inherited_dataTipFormat : String
Series
 Inherited_deferLayout : Boolean = false
ProgrammaticSkin
 InheriteddropLines : Shape
AxisSeries
 Inherited_dropLineStroke : IStroke
AxisSeries
 InheriteddropShadowStyleChanged : Boolean = true
Series
 InheriteddropShadowTarget : DisplayObject
Series
 InheritedfieldMap : Object
Series
 Inheritedfields : Array
Series
 InheritedgraphicsLayer : Shape
AxisSeries
 InheritedinvalidateDisplayListFlag : Boolean = false
ProgrammaticSkin
 InheritedinvalidatePropertiesFlag : Boolean = false
ProgrammaticSkin
 InheritedinvalidateSizeFlag : Boolean = false
ProgrammaticSkin
 InheritedinvalidDataScale : Boolean = false
Series
 InheritedinvalidFields : Boolean = true
Series
 InheritedinvalidSeriesData : Boolean = false
Series
 Inherited_isRotated : Boolean = false
Series
 Inherited_items : Array
Series
 Inherited_labelFormat : String
Series
 Inherited_labelPosition : String = "none"
Series
 InheritedlastMouseX : int
Series
 InheritedlastMouseY : int
Series
 Inherited_legendData : Array
Series
 Inherited_legendFormat : String
Series
 Inherited_marker : Marker
Series
 Inherited_markerRenderer : IMarkerRenderer
Series
 Inheritedmarkers : Shape
AxisSeries
 Inherited_markers : Array
Series
 Inherited_markerSize : int
Series
 Inherited_markerStroke : IStroke
Series
 Inherited_markerType : String
Series
 Inheritedowner : Object
ChartStyleClient
 Inherited_palette : Palette
Series
 InheritedpaletteBaseIndex : int = 0
Series
 InheritedpaletteItemCount : int = 1
Series
 Inherited_parent : DisplayObjectContainer
ChartDisplayElement
 Inherited_selectedItem : DataPoint
Series
 Inherited_seriesDataProvider : ICollectionView
Series
 Inherited_showAnnotations : Boolean
Series
 Inherited_showCursor : Boolean
Series
 Inherited_showDataTips : Boolean
Series
 Inherited_showDropLines : Boolean = true
controls whether drop lines are shown
AxisSeries
 Inherited_showLabels : Boolean
Series
 Inherited_showMarkers : Boolean
Series
 InheritedsizeChanged : Boolean = false
ProgrammaticSkin
 InheritedstyleParent : IStyleClient
ChartStyleClient
 InheritedstylesInitialized : Boolean = false
ChartStyleClient
 InheritedtextFieldList : Array
ChartStyleClient
 Inherited_trackMouse : Boolean = false
Series
 Inherited_volume : Number = .8
Series
 Inherited_xAxis : Axis
AxisSeries
 Inherited_xField : String
AxisSeries
 InheritedxOffset : int
Series
 Inherited_yAxis : Axis
AxisSeries
 Inherited_yField : String
AxisSeries
Public Methods
 MethodDefined by
  
Constructor
CandlestickSeries
 Inherited
axesChanged():void
Notifes the series that parent SeriesSet's assigned chartAxes may have been changed.
AxisSeries
 Inherited
clearStyle(styleProp:String):void
ChartStyleClient
 Inherited
ChartStyleClient
 Inherited
ChartStyleClient
 Inherited
getDataPoint(x:int, y:int, sensitivity:int, checkXY:Boolean = true):DataPoint
Series
 Inherited
getField(fieldName:String):DataFieldDesc
Series
 Inherited
getMax(axisType:String):Number
AxisSeries
 Inherited
getMin(axisType:String):Number
AxisSeries
 Inherited
getMinInterval(axisType:String):Number
AxisSeries
 Inherited
getStyle(styleProp:String):*
ChartStyleClient
 Inherited
hasField(fieldName:String):Boolean
Series
 Inherited
initElement(chart:IChartArea):void
ChartDisplayElement
 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
setActualSize(newWidth:Number, newHeight:Number):void
Sets the height and width of this object.
ProgrammaticSkin
 Inherited
Set the physical pixel size of the chart
AxisSeries
 Inherited
setStyle(styleProp:String, newValue:*):void
ChartStyleClient
 Inherited
styleChanged(styleProp:String):void
Whenever any style changes, redraw this skin.
Series
 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
axesChangedHandler(e:Event):void
AxisSeries
 Inherited
axisModeChangeHandler(e:Event):void
Called when the x axis mode changes
AxisSeries
 Inherited
Called when the axis range changes
AxisSeries
 Inherited
chartStateChangedHandler(e:StateChangeEvent):void
Series
  
checkDataPoint(x:int, y:int, sensitivity:int, checkXY:Boolean = true):DataPoint
CandlestickSeries
 Inherited
Series
 Inherited
ChartDisplayElement
 Inherited
AxisSeries
 Inherited
deactivate():void
ChartDisplayElement
 Inherited
deferLayout(state:Boolean):void
ProgrammaticSkin
 Inherited
AxisSeries
 Inherited
drawLabel(item:*, i:int, x:int, y:int, position:String = null):void
AxisSeries
 Inherited
drawLabels():void
AxisSeries
 Inherited
drawMarkers():void
AxisSeries
 Inherited
drawSeries():void
draw this series
AxisSeries
 Inherited
getFill(index:int = -1):IFill
Series
 Inherited
getFormattedText(item:DataItem, type:String):String
AxisSeries
 Inherited
getLegendData():Array
Series
 Inherited
getMarker(index:int = -1):Marker
Series
 Inherited
Series
 Inherited
getParent():DisplayObjectContainer
ChartDisplayElement
 Inherited
Series
 Inherited
Series
 Inherited
Series
 Inherited
HLOCSeries
 Inherited
getStroke(index:int = -1):IStroke
Series
 Inherited
Series
 Inherited
ChartDisplayElement
 Inherited
initialize():void
AxisSeries
 Inherited
ChartStyleClient
 Inherited
Series
 Inherited
ChartStyleClient
 Inherited
Series
 Inherited
Series
 Inherited
Series
 Inherited
Series
 Inherited
measure():void
ProgrammaticSkin
 Inherited
ProgrammaticSkin
 Inherited
notifyTextFieldStyleChange(styleProp:String):void
ChartStyleClient
 Inherited
plotSizeChangedHandler(e:Event):void
ChartDisplayElement
 Inherited
removedHandler(e:Event):void
ChartDisplayElement
  
renderItems():void
CandlestickSeries
 Inherited
Clear all the draw surfaces
AxisSeries
 Inherited
setChartDataProvider(value:Object):void
Series
 Inherited
setData(cursor:IViewCursor):void
Series
 Inherited
Series
 Inherited
setDataProvider(value:ICollectionView):void
Series
 Inherited
setOrientation(isHorizontal:Boolean = true):void
Sets the orientation of the series
AxisSeries
 Inherited
Series
 Inherited
setShowCursor(value:Boolean):void
Series
 Inherited
setShowDataTips(value:Boolean):void
Series
 Inherited
setShowLabels(value:Boolean):void
Series
 Inherited
setTrackMouse(value:Boolean):void
Series
 Inherited
AxisSeries
 Inherited
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draw the series
AxisSeries
 Inherited
updateFields():void
Series
 Inherited
HLOCSeries
 Inherited
Initializes the SeriesData object for the new dataProvider
Series
 Inherited
validateData():void
Series
Styles
 StyleDescriptionDefined by
  
downFill
Type: mx.graphics.IFill   CSS Inheritance: no
Sets the declining fill for this data series, used when the closing value of an element is less than the opening value. You can specify either an object implementing the IFill interface, or a number representing a solid color value. You can also specify a solid fill using CSS.
CandlestickSeries
 Inherited Type: Boolean   CSS Inheritance: no
Boolean property that specifies whether the component has a visible drop shadow.
Series
 Inherited Type: mx.graphics.IFill   CSS Inheritance: no
Sets the fill for this data series.
Series
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Specifies the stroke to use for hilo line if an opening value is specified.
HLOCSeries
 Inherited Type: xp.charting.IMarkerRenderer   CSS Inheritance: yes
Series
 Inherited Type: int   CSS Inheritance: yes
Series
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: yes
Series
 Inherited Type: String   CSS Inheritance: yes
Series
 Inherited Type: xp.charting.IMarkerRenderer   CSS Inheritance: yes
Series
 Inherited Type: int   CSS Inheritance: yes
Series
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: yes
Series
 Inherited Type: String   CSS Inheritance: yes
Series
 Inherited Type: Number   CSS Inheritance: no
Sets the stroke width for this data series.
Series
 Inherited Type: Number   CSS Inheritance: no
The drop shadow alpha
Series
 Inherited Type: uint   Format: Color   CSS Inheritance: yes
Color of the drop shadow.
Series
 Inherited Type: String   CSS Inheritance: no
Direction of the drop shadow.
Series
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Distance of the drop shadow.
Series
 Inherited Type: Boolean   CSS Inheritance: no
Controls whether a cursor is attached to this series Only one series per chart (or subchart) can have a cursor attached
Series
 Inherited Type: Boolean   CSS Inheritance: yes
Series
 Inherited Type: Boolean   CSS Inheritance: yes
controls whether marker are always shown(if false they are only shown with tooltip)
Series
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Sets the stroke style for this data series.
Series
 Inherited Type: Number   Format: Length   CSS Inheritance: no
Specifies the length, in pixels, for the open and close tick mark.
HLOCSeries
 Inherited Type: mx.graphics.IStroke   CSS Inheritance: no
Specifies the stroke to use for the open/close tick mark if an opening value is specified.
HLOCSeries
  
upFill
Type: mx.graphics.IFill   CSS Inheritance: no
Sets the advancing fill for this data series, used when the closing value of an element is greater than the opening value. You can specify either an object implementing the IFill interface, or a number representing a solid color value. You can also specify a solid fill using CSS.
CandlestickSeries
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
 InheritednullStroke : IStroke
[static]
Series
 Inheritedrc : Rectangle
[static]
Series
Constructor detail
CandlestickSeries()constructor
public function CandlestickSeries()

Constructor

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

Returns
DataPoint
renderItems()method 
protected override function renderItems():void