Interface: ChartClickDatum
A normalized description of a clicked chart element.
In the common cross-filter case, ChartClickDatum.name carries the dimension value of the clicked element.
Properties
Section titled “Properties”dataIndex
Section titled “dataIndex”dataIndex:
number
name:
string
Category label of the clicked element — the dimension value in the common cross-filter case.
raw:
unknown
seriesIndex
Section titled “seriesIndex”seriesIndex:
number
seriesName?
Section titled “seriesName?”
optionalseriesName?:string
value:
string|number|null
The datum’s scalar value:
- bar / pie — the datum itself.
- time-series / scatter — the y-component of the
[x, y]point (see ChartClickDatum.x / ChartClickDatum.y). - heatmap — the cell value (the third entry of ECharts’
[xIndex, yIndex, value]triple), not an axis index. - radar —
null; the item holds one value per indicator, so there is no single scalar to report. Read the vector from ChartClickDatum.raw.
null whenever there is no scalar value to surface.
optionalx?:string|number
optionaly?:string|number