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
[override] Draws the vertical selection line overlay.
HorizontalAxisDataSelector
Events
 Event Summary Defined By
  Dispatched when the selected data on the horizontal axis changes.HorizontalAxisDataSelector
Styles
 Style Description Defined 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
override protected function updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void

Draws the vertical selection line overlay.

Parameters

unscaledWidth:Number
 
unscaledHeight:Number

Event Detail
change Event
Event Object Type: flash.events.Event
Event.type property = flash.events.Event.CHANGE

Dispatched when the selected data on the horizontal axis changes.