Apache Flex 4.16.0 API Reference | All Packages | All Classes | Index | Frames No Frames |
ChartEvent

Package | mx.charts.events
Class | public class ChartEvent
Inheritance | ChartEvent flash.events.MouseEvent

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

The ChartEvent class represents events that are specific to the chart control, such as when a chart is clicked. This event is only triggered if there are no ChartItem objects underneath the mouse.

See also

mx.charts.events.ChartItemEvent

Public Methods

| Method | Defined By
--- | --- | ---
|  | ChartEvent(type:String, triggerEvent:MouseEvent = null, target:ChartBase = null) Constructor. | ChartEvent

Public Constants

| Constant | Defined By
--- | --- | ---
|  | CHART_CLICK : String = chartClick [static] Indicates that the user clicked the mouse button over a chart control but not on a chart item. | ChartEvent
|  | CHART_DOUBLE_CLICK : String = chartDoubleClick [static] Indicates that the user double-clicked the mouse button over a chart control but not on a chart item. | ChartEvent

Constructor Detail

ChartEvent | () | Constructor

`public function ChartEvent(type:String, triggerEvent:MouseEvent = null, target:ChartBase = null)`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Constructor.

Parameters

| `type:String` — The type of the event.
| `triggerEvent:MouseEvent` (default = `null`)`` — The MouseEvent that triggered this ChartEvent.
| `target:ChartBase` (default = `null`)`` — The chart on which the event was triggered.

Constant Detail

CHART_CLICK | Constant

`public static const CHART_CLICK:String = chartClick`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Indicates that the user clicked the mouse button over a chart control but not on a chart item.

CHART_DOUBLE_CLICK | Constant |

`public static const CHART_DOUBLE_CLICK:String = chartDoubleClick`

Language Version : | ActionScript 3.0

Product Version : | Flex 3

Runtime Versions : | Flash Player 9, AIR 1.1

Indicates that the user double-clicked the mouse button over a chart control but not on a chart item.

Sun Mar 5 2017, 03:42 PM +11:00