EChartClickEventArgs #
Represents the arguments for the HxEChart.OnClick event callback.
API #
Other properties #
| Name |
Type |
Description |
| ComponentType |
string |
Type of the component to which the clicked glyph belongs, e.g. "series", "markLine", "markPoint", "markArea". |
| DataIndex |
int? |
Data index in incoming data array. |
| Name |
string |
Data name, category name. |
| SeriesIndex |
int? |
Series index in incoming Options.Series (make sense when ComponentType is "series"). |
| SeriesName |
string |
Series name (make sense when ComponentType is "series"). |
| SeriesType |
string |
Series type (make sense when ComponentType is 'series'), e.g. "line", "bar", "pie", ... |
| TargetType |
string |
Indicates what type of click event is it. |
| Value |
object |
Incoming data value. Use EChartClickEventArgs.GetValue` to extract the value as the specified type. |
Methods #