AxisLabelClickEvent

Provides data for the event triggered when an axis label is clicked in a chart.

Props

The following table outlines the props for the AxisLabelClickEvent:

NameTypeDefaultDescription
axisName
string
-

The name of the axis to which the clicked label belongs is represented.

index
number
-

The index of the clicked axis label.

location
-

The location of the clicked axis label within the chart.

text
string
-

The text content of the clicked axis label.

value
number
-

The value associated with the clicked axis label.