click property
Fires when clicking on the plot background. One parameter, event
,
is passed to the function, containing common event information.
Information on the clicked spot can be found through event.xAxis
and event.yAxis
, which are arrays containing the axes of each
dimension and each axis' value at the clicked spot. The primary axes
are event.xAxis[0]
and event.yAxis[0]
. Remember the unit of a
datetime axis is milliseconds since 1970-01-01 00:00:00.
API Docs: https://api.highcharts.com/highcharts/chart.events.click
Implementation
HighchartsCallback? click;