Packagecom.amcharts.events
Classpublic class GraphEvent
InheritanceGraphEvent Inheritance flash.events.Event

The GraphEvent class represents events that are specific to the Graph control. All the events are mouse-related



Public Properties
 PropertyDefined by
  graph : AmGraph
Graph object.
GraphEvent
  index : int
Index of the item which was clicked/rolled-over/etc.
GraphEvent
  item : GraphDataItem
Data item of the item which was clicked/rolled-over/etc.
GraphEvent
Public Methods
 MethodDefined by
  
GraphEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
GraphEvent
Public Constants
 ConstantDefined by
  CLICK_GRAPH_ITEM : String = "clickGraphItem"
[static]
GraphEvent
  DOUBLE_CLICK_GRAPH_ITEM : String = "doubleClickGraphItem"
[static]
GraphEvent
  ROLL_OUT_GRAPH_ITEM : String = "rollOutGraphItem"
[static]
GraphEvent
  ROLL_OVER_GRAPH_ITEM : String = "rollOverGraphItem"
[static]
GraphEvent
Property detail
graphproperty
public var graph:AmGraph

Graph object.

indexproperty 
public var index:int

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

itemproperty 
public var item:GraphDataItem

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

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

Constructor

Parameters
type:String
 
bubbles:Boolean (default = false)
 
cancelable:Boolean (default = false)
Constant detail
CLICK_GRAPH_ITEMconstant
public static const CLICK_GRAPH_ITEM:String = "clickGraphItem"
DOUBLE_CLICK_GRAPH_ITEMconstant 
public static const DOUBLE_CLICK_GRAPH_ITEM:String = "doubleClickGraphItem"
ROLL_OUT_GRAPH_ITEMconstant 
public static const ROLL_OUT_GRAPH_ITEM:String = "rollOutGraphItem"
ROLL_OVER_GRAPH_ITEMconstant 
public static const ROLL_OVER_GRAPH_ITEM:String = "rollOverGraphItem"