type TTChartOnMarkTipToolGetText = procedure(ASender: TObject; Tool: Integer; Var Text: WideString) of object;
Type Library
TeeChartx
Description
Triggered when getting text for Mark Tip. Use this event to modify the text at runtime.
Example [Visual Basic]:
Private Sub Form_Load()
With TChart1
.AddSeries scPoint
.Series(0).FillSampleValues 10
.Tools.Add tcMarksTip
With .Tools.Items(0).asMarksTip
.Series = 0
End With
End With
End Sub
Private Sub TChart1_OnMarkTipToolGetText(ByVal Tool As Long, Text As String)
If Tool = 0 Then
Text = Text & " kilos"
End If
End Sub