Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
A ChartItem represents a single item in a ChartSeries.
In most standard series, there is one ChartItem created
for each item in the series' dataProvider collection.
ChartItems are passed to the instances of a series' itemRenderer
for rendering.
Most Series types extend ChartItem to contain additional information
specific to the chart type.
currentState:String
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Defines the appearance of the ChartItem.
The currentState
property can be set to none
, rollOver
,
selected
, disabled
, focusSelected
, and focused
.
Implementation public function get currentState():String
public function set currentState(value:String):void
public var element:IChartElement
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The series or element that owns the ChartItem.
public var index:int
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The index of the data from the series' data provider
that the ChartItem represents.
public var item:Object
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The item from the series' data provider that the ChartItem represents.
public var itemRenderer:IFlexDisplayObject
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
The instance of the chart's itemRenderer
that represents this ChartItem.
public function ChartItem(element:IChartElement = null, item:Object = null, index:uint = 0)
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Constructor.
Parameters | element:IChartElement (default = null ) — The series or element to which the ChartItem belongs.
|
|
| item:Object (default = null ) — The item from the series' data provider
that the ChartItem represents.
|
|
| index:uint (default = 0 ) — The index of the data from the series' data provider
that the ChartItem represents.
|
public function clone():ChartItem
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Returns a copy of this ChartItem.
Returnspublic static const DISABLED:String = disabled
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem appears disabled and cannot be selected.
public static const FOCUSED:String = focused
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem has focus but does not appear to be selected.
public static const FOCUSEDSELECTED:String = focusedSelected
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem appears to have focus and appears to be selected.
public static const NONE:String = none
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem does not appear to be selected, does not have focus, and is not being rolled over.
public static const ROLLOVER:String = rollOver
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem appears as if the mouse was over it.
public static const SELECTED:String = selected
Language Version : | ActionScript 3.0 |
Runtime Versions : | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem appears selected but does not have focus.
Mon Jul 9 2012, 07:18 PM -04:00