((Apenas para componentes do Flex Data Visualization))
Pacotemx.charts
Classepublic class ChartItem
HerançaChartItem Inheritance EventDispatcher Inheritance Object
Subclasses AreaSeriesItem, BarSeriesItem, BubbleSeriesItem, ColumnSeriesItem, HLOCSeriesItem, LineSeriesItem, PieSeriesItem, PlotSeriesItem

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.



Propriedades Públicas
 PropriedadeDefinido por
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
  currentState : String
Defines the appearance of the ChartItem.
ChartItem
  element : IChartElement2
The series or element that owns the ChartItem.
ChartItem
  index : int
The index of the data from the series' data provider that the ChartItem represents.
ChartItem
  item : Object
The item from the series' data provider that the ChartItem represents.
ChartItem
  itemRenderer : IFlexDisplayObject
The instance of the chart's itemRenderer that represents this ChartItem.
ChartItem
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Métodos Públicos
 MétodoDefinido por
  
ChartItem(element:IChartElement2 = null, item:Object = null, index:uint = 0)
Constructor.
ChartItem
 Inherited
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registers an event listener object with an EventDispatcher object so that the listener receives notification of an event.
EventDispatcher
  
Returns a copy of this ChartItem.
ChartItem
 Inherited
Dispatches an event into the event flow.
EventDispatcher
 Inherited
Checks whether the EventDispatcher object has any listeners registered for a specific type of event.
EventDispatcher
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
removeEventListener(type:String, listener:Function, useCapture:Boolean = false):void
Removes a listener from the EventDispatcher object.
EventDispatcher
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
 Inherited
Checks whether an event listener is registered with this EventDispatcher object or any of its ancestors for the specified event type.
EventDispatcher
Eventos
 Evento Descrição Definido por
 Inherited Dispatched when Flash Player or the and AIR application gains operating system focus and becomes active.EventDispatcher
 Inherited Dispatched when Flash Player loses operating system focus and is becoming inactive.EventDispatcher
Constantes públicas
 ConstanteDefinido por
  DISABLED : String = "disabled"
[static] Value that indicates the ChartItem appears disabled and cannot be selected.
ChartItem
  FOCUSED : String = "focused"
[static] Value that indicates the ChartItem has focus but does not appear to be selected.
ChartItem
  FOCUSEDSELECTED : String = "focusedSelected"
[static] Value that indicates the ChartItem appears to have focus and appears to be selected.
ChartItem
  NONE : String = "none"
[static] Value that indicates the ChartItem does not appear to be selected, does not have focus, and is not being rolled over.
ChartItem
  ROLLOVER : String = "rollOver"
[static] Value that indicates the ChartItem appears as if the mouse was over it.
ChartItem
  SELECTED : String = "selected"
[static] Value that indicates the ChartItem appears selected but does not have focus.
ChartItem
Detalhes da propriedade
currentStatepropriedade
currentState:String  [read-write]

Defines the appearance of the ChartItem. The currentState property can be set to none, rollOver, selected, disabled, focusSelected, and focused.


Implementação
    public function get currentState():String
    public function set currentState(value:String):void
elementpropriedade 
public var element:IChartElement2

The series or element that owns the ChartItem.

indexpropriedade 
public var index:int

The index of the data from the series' data provider that the ChartItem represents.

itempropriedade 
public var item:Object

The item from the series' data provider that the ChartItem represents.

itemRendererpropriedade 
public var itemRenderer:IFlexDisplayObject

The instance of the chart's itemRenderer that represents this ChartItem.

Detalhes do construtor
ChartItem()Construtor
public function ChartItem(element:IChartElement2 = null, item:Object = null, index:uint = 0)

Constructor.

Parâmetros
element:IChartElement2 (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.
Detalhes do método
clone()método
public function clone():ChartItem

Returns a copy of this ChartItem.

Retorna
ChartItem
Detalhes da constante
DISABLEDConstante
public static const DISABLED:String = "disabled"

Value that indicates the ChartItem appears disabled and cannot be selected.

FOCUSEDConstante 
public static const FOCUSED:String = "focused"

Value that indicates the ChartItem has focus but does not appear to be selected.

FOCUSEDSELECTEDConstante 
public static const FOCUSEDSELECTED:String = "focusedSelected"

Value that indicates the ChartItem appears to have focus and appears to be selected.

NONEConstante 
public static const NONE:String = "none"

Value that indicates the ChartItem does not appear to be selected, does not have focus, and is not being rolled over.

ROLLOVERConstante 
public static const ROLLOVER:String = "rollOver"

Value that indicates the ChartItem appears as if the mouse was over it.

SELECTEDConstante 
public static const SELECTED:String = "selected"

Value that indicates the ChartItem appears selected but does not have focus.