The AmChartEvent class represents events that are specific to the AmChart control.
dataUpdated event is dispatched when the chart is updated with a new data. Or chart
margins are updated (only if autoMargins is set to true).
public function AmChartEvent(type:String, bubbles:Boolean = false, cancelable:Boolean = false)
Constructor
Parameters
| type:String |
| |
| bubbles:Boolean (default = false) |
| |
| cancelable:Boolean (default = false) |
public static const DATA_UPDATED:String = "dataUpdated"
public static const MARGINS_UPDATED:String = "marginsUpdated"