Fill color of the shape. Only meaningful when componentType is "series".
The type of component that triggered the event - "series",
"markLine", "markPoint", "timeLine", etc.
The raw data item as defined in option.series[n].data.
Index of the data item in the data array.
Data type for charts with multiple data types (e.g. "sankey", "graph").
"node" or "edge" for graph charts. Meaningless for single-type charts.
Name of the data item (category label).
Index of the series in option.series.
Only meaningful when componentType is "series".
Series name.
Only meaningful when componentType is "series".
Series type ("line", "bar", "pie", etc.).
Only meaningful when componentType is "series".
The data value at the event position.
Parameters passed to ECharts event handlers.
Remarks
Not all fields are present on every event - availability depends on
componentTypeand the chart type. Mouse events on series elements populate most fields. Events on non-series components (legend,dataZoom) may only populatecomponentTypeand component-specific fields.Received as the first argument of every handler in
onEvents, and as the first argument of handlers passed todispatchvia theonEventsprop.See
ECharts `event [external]