EChartsEvent enum
Enumerates all supported ECharts JavaScript event names.
Use these values to subscribe to chart events in a type-safe manner instead of raw strings.
Typical events include user interactions like clicks, mouse movements, legend changes, zoom events, and more.
- Inheritance
- Available extensions
Values
- click → const EChartsEvent
-
Fires when chart elements are clicked.
- dblclick → const EChartsEvent
-
Fires when chart elements are double-clicked.
- mousedown → const EChartsEvent
-
Mouse button is pressed down.
- mousemove → const EChartsEvent
-
Mouse pointer moves over the chart or elements.
- mouseup → const EChartsEvent
-
Mouse button is released.
- mouseover → const EChartsEvent
-
Mouse pointer enters an element.
- mouseout → const EChartsEvent
-
Mouse pointer leaves an element.
- globalout → const EChartsEvent
-
Mouse pointer leaves the entire chart.
-
Right-click context menu event.
- legendselectchanged → const EChartsEvent
-
Fired when legend selection changes.
- legendselected → const EChartsEvent
-
Fired when any legend is selected.
- legendunselected → const EChartsEvent
-
Fired when any legend is unselected.
- datazoom → const EChartsEvent
-
Data zoom change event.
- timelinechanged → const EChartsEvent
-
Timeline current index changed.
- timelineplaychanged → const EChartsEvent
-
Timeline play state changed.
- restore → const EChartsEvent
-
Chart is restored.
- dataviewchanged → const EChartsEvent
-
Data view changed.
- magictypechanged → const EChartsEvent
-
Magic type (chart type) changed.
- geoselectchanged → const EChartsEvent
-
Geo component selection changed.
- geoselected → const EChartsEvent
-
Geo component selected.
- geoUnselected → const EChartsEvent
-
Geo component unselected.
- pieselectchanged → const EChartsEvent
-
Pie chart slice selection changed.
- piesselected → const EChartsEvent
-
Pie chart slice selected.
- pieUnselected → const EChartsEvent
-
Pie chart slice unselected.
- mapselectchanged → const EChartsEvent
-
Map select changed event.
- mapselected → const EChartsEvent
-
Map area selected.
- mapUnselected → const EChartsEvent
-
Map area unselected.
- axisareaselected → const EChartsEvent
-
Axis area selected.
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on EChartsEvent, provided by the EChartsEventExtension extension
Gets the corresponding string event name used in ECharts JavaScript API.no setter - name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
EChartsEvent> - A constant List of the values in this enum, in order of their declaration.