ITChart.OnClickAxis
ITChart

property OnClickAxis: TTChartOnClickAxis;

Type Library
TeeChartx

Description
An OnClickAxis event occurs whenever the user clicks on a Chart axis subclass.

The Sender parameter specifies the Chart class that triggered the event.

The Axis parameter is the corresponding clicked Chart axis. It can be the Left, Right, Top or Bottom Chart Axis subclass.

The Button, Shift, X and Y parameters determine the mouse button and mouse cursor coordinates at the time the axis was clicked.

This event has a higher priority than OnClickBackGround event and lower priority than OnClickSeries event.

Example [Visual Basic]:

Private Sub TChart1_OnClickAxis(ByVal Axis As Long, ByVal Button As TeeChart.EMouseButton, ByVal Shift As TeeChart.EShiftState, ByVal X As Long, ByVal Y As Long)

If Axis = atBottom Then

MsgBox "Clicked Bottom Axis !"

End If

End Sub