Packageflexlib.charts
Classpublic class HorizontalAxisDataSelector
InheritanceHorizontalAxisDataSelector Inheritance mx.charts.chartClasses.ChartElement

Allows for the selection of a specific data value on the horizontal axis.



Public Properties
 PropertyDefined by
  dataValues : Array
[read-only] Gets a list of data values for the currently selected data item on the horizontal axis.
HorizontalAxisDataSelector
Public Methods
 MethodDefined by
  
Constructor.
HorizontalAxisDataSelector
Protected Methods
 MethodDefined by
  
updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void
Draws the vertical selection line overlay.
HorizontalAxisDataSelector
Events
 EventSummaryDefined by
   Dispatched when the selected data on the horizontal axis changes.HorizontalAxisDataSelector
Styles
 StyleDescriptionDefined by
  
selectorColor
Type: uint   Format: Color   CSS Inheritance: no
Color of the vertical line that appears for the selected x value The default value is 0xFF0000. The default value is 0xFF0000.
HorizontalAxisDataSelector
Property detail
dataValuesproperty
dataValues:Array  [read-only]

Gets a list of data values for the currently selected data item on the horizontal axis. The x field value is always the first element in the array. Then, for each series, the y value is added to a values array in the same order that the series are defined.

Implementation
    public function get dataValues():Array
Constructor detail
HorizontalAxisDataSelector()constructor
public function HorizontalAxisDataSelector()

Constructor.

Method detail
updateDisplayList()method
protected override function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Draws the vertical selection line overlay.

Parameters
unscaledWidth:Number
 
unscaledHeight:Number
Event detail
changeevent 
Event object type: flash.events.Event

Dispatched when the selected data on the horizontal axis changes.