ITChart.OnGetAxisLabel
ITChart

property OnGetAxisLabel: TTChartOnGetAxisLabel;

Type Library
TeeChartx

Description
An Event is triggered for each Axis Label painted. There are two different uses for OnGetAxisLabel:

1) : Axis Labels are Values. Is this case, the Series parameter will be nil, and the ValueIndex will be -1.

2) : Axis Labels are Series points. The Series parameter will be a valid Series, and the ValueIndex will be the current Series point position. You can change the LabelText referred parameter for drawing a different Axis Label.

Example [Visual Basic]:

Private Sub TChart1_OnGetAxisLabel(ByVal aAxis As Long, ByVal SeriesIndex As Long, ByVal ValueIndex As Long, LabelText As String)

'Modifies Bottom Axis Labels

If aAxis = atBottom Then

LabelText = LabelText + " !"

End If

End Sub