Packagecom.amcharts.events
Classpublic class PieChartEvent
InheritancePieChartEvent Inheritance flash.events.Event

The PieChartEvent class represents events that are specific to the AmPieChart control. All the events are mouse-related.



Public Properties
 PropertyDefined by
  index : int
Index of the Slice which was clicked/rolled-over/etc.
PieChartEvent
  item : Slice
Data item of the Slice which was clicked/rolled-over/etc.
PieChartEvent
Public Methods
 MethodDefined by
  
PieChartEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
PieChartEvent
Public Constants
 ConstantDefined by
  CLICK_SLICE : String = "clickSlice"
[static]
PieChartEvent
  PULL_IN_SLICE : String = "pullInSlice"
[static]
PieChartEvent
  PULL_OUT_SLICE : String = "pullOutSlice"
[static]
PieChartEvent
  ROLL_OUT_SLICE : String = "rollOutSlice"
[static]
PieChartEvent
  ROLL_OVER_SLICE : String = "rollOverSlice"
[static]
PieChartEvent
Property detail
indexproperty
public var index:int

Index of the Slice which was clicked/rolled-over/etc.

itemproperty 
public var item:Slice

Data item of the Slice which was clicked/rolled-over/etc.

Constructor detail
PieChartEvent()constructor
public function PieChartEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)

Constructor

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Constant detail
CLICK_SLICEconstant
public static const CLICK_SLICE:String = "clickSlice"
PULL_IN_SLICEconstant 
public static const PULL_IN_SLICE:String = "pullInSlice"
PULL_OUT_SLICEconstant 
public static const PULL_OUT_SLICE:String = "pullOutSlice"
ROLL_OUT_SLICEconstant 
public static const ROLL_OUT_SLICE:String = "rollOutSlice"
ROLL_OVER_SLICEconstant 
public static const ROLL_OVER_SLICE:String = "rollOverSlice"