flexlib :: library Documentation | All Packages | All Classes | Index | Frames No Frames |
HorizontalAxisDataSelector

Package | flexlib.charts
Class | public class HorizontalAxisDataSelector
Inheritance | HorizontalAxisDataSelector mx.charts.chartClasses.ChartElement

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

Public Properties

| Property | Defined By
--- | --- | ---
|  | dataValues : Array [read-only] Gets a list of data values for the currently selected data item on the horizontal axis. | HorizontalAxisDataSelector

Public Methods

| Method | Defined By
--- | --- | ---
|  | HorizontalAxisDataSelector() Constructor. | HorizontalAxisDataSelector

Protected Methods

| Method | Defined By
--- | --- | ---
|  | updateDisplayList(unscaledWidth:Number, unscaledHeight:Number):void [override] Draws the vertical selection line overlay. | HorizontalAxisDataSelector

Events

| Event | Summary | Defined By
--- | --- | --- | ---
|  | change | 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

dataValues | property

`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.

Dimanche Juin 19 2011, 03:12 PM +02:00