| Package | com.amcharts.events |
| Class | public class LegendEvent |
| Inheritance | LegendEvent flash.events.Event |
| Property | Defined by | ||
|---|---|---|---|
| index : int
Index of the legend item which was clicked/rolled-over/etc.
| LegendEvent | ||
| item : Object
Data item of the legend item which was clicked/rolled-over/etc.
| LegendEvent | ||
| Method | Defined by | ||
|---|---|---|---|
|
LegendEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
| LegendEvent | ||
| Constant | Defined by | ||
|---|---|---|---|
| CLICK_LABEL : String = "clickLabel" [static]
| LegendEvent | ||
| CLICK_MARKER : String = "clickMarker" [static]
| LegendEvent | ||
| HIDE_ITEM : String = "hideItem" [static]
| LegendEvent | ||
| ROLL_OUT_ITEM : String = "rollOutItem" [static]
| LegendEvent | ||
| ROLL_OUT_MARKER : String = "rollOutMarker" [static]
| LegendEvent | ||
| ROLL_OVER_ITEM : String = "rollOverItem" [static]
| LegendEvent | ||
| ROLL_OVER_MARKER : String = "rollOverMarker" [static]
| LegendEvent | ||
| SHOW_ITEM : String = "showItem" [static]
| LegendEvent | ||
| index | property |
public var index:intIndex of the legend item which was clicked/rolled-over/etc.
| item | property |
public var item:ObjectData item of the legend item which was clicked/rolled-over/etc. Can be com.amcharts.pie.Slice or com.amcharts.chartClasses.AmGraph.
| LegendEvent | () | constructor |
public function LegendEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)Constructor
Parameterstype:String |
|
bubbles:Boolean (default = false) |
|
cancelable:Boolean (default = false) |
| CLICK_LABEL | constant |
public static const CLICK_LABEL:String = "clickLabel"
| CLICK_MARKER | constant |
public static const CLICK_MARKER:String = "clickMarker"
| HIDE_ITEM | constant |
public static const HIDE_ITEM:String = "hideItem"
| ROLL_OUT_ITEM | constant |
public static const ROLL_OUT_ITEM:String = "rollOutItem"
| ROLL_OUT_MARKER | constant |
public static const ROLL_OUT_MARKER:String = "rollOutMarker"
| ROLL_OVER_ITEM | constant |
public static const ROLL_OVER_ITEM:String = "rollOverItem"
| ROLL_OVER_MARKER | constant |
public static const ROLL_OVER_MARKER:String = "rollOverMarker"
| SHOW_ITEM | constant |
public static const SHOW_ITEM:String = "showItem"