Packagecom.flexicious.components.tinycharts.valueobjects
Classpublic class HLOCSeries
InheritanceHLOCSeries Inheritance CartesianSeries Inheritance Series Inheritance mx.styles.CSSStyleDeclaration
Subclasses CandleStickSeries

Language Version : ActionScript 3.0

Represents financial data as a series of elements representing the high, low, closing, and, optionally, opening values of a data series. The top and bottom of the vertical line in each element represent the high and low values for the datapoint. The right-facing tick mark represents the closing value, and the left tick mark represents the opening value, if one was specified.

MXML SyntaxexpandedHide MXML Syntax

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



Public Properties
 PropertyDefined By
 InheritedbaseAtZero : Boolean
Specifies whether Flex tries to keep the minimum and maximum values rooted at zero.
Series
 InheritedcalculatedMinMaxSum : Array
Calculated result of the minmaxsum function.
Series
 Inheritedchart : TinyChartBase
Series
  closeField : String
Specifies the field of the data provider that determines the y-axis location of the closing value of the element.
HLOCSeries
  columnWidthRatio : Number
Specifies the width of elements relative to the category width.
HLOCSeries
 InheriteddataFunction : Function
Specifies a method that returns the value that should be used for positioning the current chart item in the series.
Series
  dataPropertyName : String
[override] Returns the attribute on the series that returns the data field on the dataprovider.
HLOCSeries
 InheriteddataTipRenderer : IFactory
Renderer for the data tip.
Series
 InheriteddisplayName : String
The name of the series, for display to the user.
Series
 InheritedenabledFunction : Function
Given an item, returns the color for its renderer (line, or column)
Series
  highField : String
Specifies the field of the data provider that determines the y-axis location of the high value of the element.
HLOCSeries
 Inheritedinteractive : Boolean
Determines whether data tips appear when users interact with chart data on the screen.
Series
 InheritedisSecondary : Boolean = false
Is this a secondary series (not used to render the axes), used by Multi Series Charts.
Series
 InheriteditemFillFunction : Function = null
Given an item, returns the color for its renderer (line, or column) .
Series
 InheriteditemLineColorFunction : Function = null
Given an item, returns the color for its line (or border for its fill) .
Series
 InheritedlabelFunction : Function
Specifies a callback function used to render each label of the Series.
Series
 InheritedlabelPropertyName : String
[read-only] Returns the attribute on the series that returns the data field on the dataprovider.
Series
 InheritedlabelStyleName : String
This is the style name applied to labels that are drawn on top of individual datapoints For now this is supported for 3d Pie, Funnel and Pyramid Charts, since they are the only ones that draw a label on top of the individual data points.
Series
  lowField : String
Specifies the field of the data provider that determines the y-axis location of the low value of the element.
HLOCSeries
 InheritedminMaxSumFunction : Function
PLEASE NOTE: Starting 2.10 this function is deprecated.
Series
 InheritedminMaxSumIntervalFunction : Function
Returns an array of 4 values.
Series
  openField : String
Specifies the field of the data provider that determines the y-axis location of the opening value of the element.
HLOCSeries
 Inheritedpainter : TinyChartPainterBase
The painter responsible for painting the series.
Series
 InheritedplotPoints : Array
A list of plot points we calculated to render this series
Series
 Inheritedselectable : Boolean
Specifies whether a series is selectable or not.
Series
 InheritedselectedIndex : int
Index of the selected item in the data provider of the series.
Series
 InheritedselectedIndices : Array
An Array of indexes of the selected items in the data provider of the series.
Series
 InheritedselectedItem : ChartItem
The chart item that is selected in the series.
Series
 InheritedselectedItems : Array
An Array of chart items that are selected in the series.
Series
 InheritedseriesIndex : int = 0
The index of this series within the charts series collection.
Series
 InheritedshowDataTips : Boolean
Whether or not to show data tips on mouse over
Series
 InheriteduseRollover : Boolean
Flag to show a different color for the bar/area that the user has rolled over.
Series
 InheritedxField : String
Specifies the field of the data provider that determines the x-axis location of the column.
CartesianSeries
 InheritedyField : String
Specifies the field of the data provider that determines the y-axis location of the top of a column.
CartesianSeries
Public Methods
 MethodDefined By
  
HLOCSeries
 Inherited
calculateSteps(minValue:Number, maxValue:Number, sum:Number):Array
Series
 Inherited
defaultDataFunction(series:Series, item:Object, fieldName:String):*
[static]
Series
 Inherited
Gets the fill associated with this item for this series.
Series
 Inherited
getItemFill(item:Object):IFill
First, checks to see if item is disabled, then returns disabled color style value, if one defined for the series, other wise the one defined for the chart.
Series
 Inherited
getItemLineColor(item:Object):IFill
Series
 Inherited
Gets the label associated with this item for this series.
Series
  
HLOCSeries
  
HLOCSeries
 Inherited
getPlotPoint(item:Object):PlotPoint
Gets the plot point for this item in this series before this one.
Series
  
HLOCSeries
 Inherited
Gets the series before this one.
Series
 Inherited
getStyleValue(prop:String):Object
If a style is defined on this series with a valid value, returns it from the series style declaration otherwise, returns it from the chart's style declaration.
Series
 Inherited
handleMouseClick(event:MouseEvent, clickedItem:HitData):void
Handles the click.
Series
Protected Methods
 MethodDefined By
 Inherited
Returns the top and bottom for the chart scale.
Series
 Inherited
getFillForItem(styleProp:String, item:Object):IFill
Takes a style property, if it is an array, returns the item in the array according to the mod position of the item in the dataprovider
Series
Styles
 Style Description Defined By
 InheritedType: mx.graphics.IFill CSS Inheritance: no
Series
  
closeTickLength
Type: Number Format: Length CSS Inheritance: no
Specifies the length, in pixels, for the close tick mark. Regardless of this value, an HLOCSeries will not render the close tick mark outside of the area assigned to the individual element.
HLOCSeries
  
closeTickStroke
Type: mx.graphics.IStroke CSS Inheritance: no
Specifies the stroke to use for the close tick mark if an opening value is specified.
HLOCSeries
 InheritedType: Array
Series
 InheritedType: Array
Series
 InheritedType: Array
Series
 InheritedType: Array
Series
 InheritedType: Array
Series
 InheritedType: Array
Series
 InheritedType: Array
Series
 InheritedType: Array
Series
  
openTickLength
Type: Number Format: Length CSS Inheritance: no
Specifies the length, in pixels, for the open tick mark if an opening value is specified. Regardless of this value, an HLOCSeries will not render the open tick mark outside of the area assigned to the individual element.
HLOCSeries
  
openTickStroke
Type: mx.graphics.IStroke CSS Inheritance: no
Specifies the stroke to use for the open tick mark if an opening value is specified.
HLOCSeries
  
stroke
Type: mx.graphics.IStroke CSS Inheritance: no
Sets the stroke style for this data series. You must specify a Stroke object to define the stroke.
HLOCSeries
Property Detail
closeFieldproperty
closeField:String

Specifies the field of the data provider that determines the y-axis location of the closing value of the element.

The default value is "".


Implementation
    public function get closeField():String
    public function set closeField(value:String):void
columnWidthRatioproperty 
columnWidthRatio:Number

Specifies the width of elements relative to the category width. A value of 1 uses the entire space, while a value of 0.6 uses 60% of the element's available space. You typically do not set this property directly. The actual element width used is the smaller of the columnWidthRatio and maxColumnWidth properties.

The default value is 0.65..


Implementation
    public function get columnWidthRatio():Number
    public function set columnWidthRatio(value:Number):void
dataPropertyNameproperty 
dataPropertyName:String[override]

Returns the attribute on the series that returns the data field on the dataprovider. Defaults to "yField" for most series, and "field" for Pie Series.


Implementation
    public function get dataPropertyName():String
    public function set dataPropertyName(value:String):void
highFieldproperty 
highField:String

Specifies the field of the data provider that determines the y-axis location of the high value of the element.

The default value is "".


Implementation
    public function get highField():String
    public function set highField(value:String):void
lowFieldproperty 
lowField:String

Specifies the field of the data provider that determines the y-axis location of the low value of the element.

The default value is "".


Implementation
    public function get lowField():String
    public function set lowField(value:String):void
openFieldproperty 
openField:String

Specifies the field of the data provider that determines the y-axis location of the opening value of the element.

The default value is "".


Implementation
    public function get openField():String
    public function set openField(value:String):void
Constructor Detail
HLOCSeries()Constructor
public function HLOCSeries()



Method Detail
getLineThickness()method
public function getLineThickness():uint

Returns
uint
getNegativeColor()method 
public function getNegativeColor():uint

Returns
uint
getPositiveColor()method 
public function getPositiveColor():uint

Returns
uint