Paket | mx.charts |
Klass | public class ChartItem |
Arv | ChartItem EventDispatcher Object |
Underklasser | AreaSeriesItem, BarSeriesItem, BubbleSeriesItem, ColumnSeriesItem, HLOCSeriesItem, LineSeriesItem, PieSeriesItem, PlotSeriesItem |
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Fler exempel
Egenskap | Definieras med | ||
---|---|---|---|
constructor : Object
En referens till klassobjektet eller konstruktorfunktionen för en given objektinstans. | Object | ||
currentState : String
Defines the appearance of the ChartItem. | ChartItem | ||
element : IChartElement
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 |
Metod | Definieras med | ||
---|---|---|---|
Constructor. | ChartItem | ||
addEventListener(type:String, listener:Function, useCapture:Boolean = false, priority:int = 0, useWeakReference:Boolean = false):void
Registrerar ett händelseavlyssnarobjekt för ett EventDispatcher-objekt så att avlyssnaren får meddelanden om händelser. | EventDispatcher | ||
Returns a copy of this ChartItem. | ChartItem | ||
Skickar en händelse till händelseflödet. | EventDispatcher | ||
Kontrollerar om EventDispatcher-objektet har några avlyssnare registrerade för en viss typ av händelse. | EventDispatcher | ||
Anger om det finns en egenskap angiven för ett objekt. | Object | ||
Anger om en instans av klassen Object finns i prototypkedjan för objektet som anges som parameter. | Object | ||
Anger om den angivna egenskapen finns och är uppräkningsbar. | Object | ||
Tar bort en avlyssnare från EventDispatcher-objektet. | EventDispatcher | ||
Anger tillgänglighet för en dynamisk egenskap för slingåtgärder. | Object | ||
Returnerar det här objektets strängrepresentation, formaterad i enlighet med språkspecifika konventioner. | Object | ||
Returnerar det angivna objektets strängbeteckning. | Object | ||
Returnerar det angivna objektets primitiva värde. | Object | ||
Kontrollerar om en händelseavlyssnare är registrerad för det här EventDispatcher-objektet eller något av dess överordnade objekt för den angivna händelsetypen. | EventDispatcher |
Konstant | Definieras med | ||
---|---|---|---|
DISABLED : String = "disabled" [statisk]
Value that indicates the ChartItem appears disabled and cannot be selected. | ChartItem | ||
FOCUSED : String = "focused" [statisk]
Value that indicates the ChartItem has focus but does not appear to be selected. | ChartItem | ||
FOCUSEDSELECTED : String = "focusedSelected" [statisk]
Value that indicates the ChartItem appears to have focus and appears to be selected. | ChartItem | ||
NONE : String = "none" [statisk]
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" [statisk]
Value that indicates the ChartItem appears as if the mouse was over it. | ChartItem | ||
SELECTED : String = "selected" [statisk]
Value that indicates the ChartItem appears selected but does not have focus. | ChartItem |
currentState | egenskap |
currentState:String
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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
.
Implementering
public function get currentState():String
public function set currentState(value:String):void
element | egenskap |
public var element:IChartElement
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The series or element that owns the ChartItem.
index | egenskap |
public var index:int
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The index of the data from the series' data provider that the ChartItem represents.
item | egenskap |
public var item:Object
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The item from the series' data provider that the ChartItem represents.
itemRenderer | egenskap |
public var itemRenderer:IFlexDisplayObject
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
The instance of the chart's itemRenderer that represents this ChartItem.
ChartItem | () | Konstruktor |
public function ChartItem(element:IChartElement = null, item:Object = null, index:uint = 0)
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Constructor.
Parametrarelement: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.
|
clone | () | metod |
DISABLED | Konstant |
public static const DISABLED:String = "disabled"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem appears disabled and cannot be selected.
FOCUSED | Konstant |
public static const FOCUSED:String = "focused"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem has focus but does not appear to be selected.
FOCUSEDSELECTED | Konstant |
public static const FOCUSEDSELECTED:String = "focusedSelected"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem appears to have focus and appears to be selected.
NONE | Konstant |
public static const NONE:String = "none"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | 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.
ROLLOVER | Konstant |
public static const ROLLOVER:String = "rollOver"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem appears as if the mouse was over it.
SELECTED | Konstant |
public static const SELECTED:String = "selected"
Språkversion: | ActionScript 3.0 |
Produktversion: | Flex 3 |
Körningsmiljöversioner: | Flash Player 9, AIR 1.1 |
Value that indicates the ChartItem appears selected but does not have focus.
Tue Jun 12 2018, 01:40 PM Z