Page 1 of 1

How to add Text to annotation of ColorLineTool

Posted: Tue Aug 12, 2025 8:38 am
by 16594956
Hello TeeChart Team,

How can I add (prefix) some text to the numerical output (Annotation) shown of the TColorLineTool?
I tried to change the Text in the OnDragLine Event like:

procedure TfrmXYPlot.XYLimitDragLine(Sender: TColorLineTool);
begin
Sender.Annotation.Text := 'XY Limit: ' + Sender.Value.ToString;
end;

But that text doesn't show up?
ColorLineToolAnnotation.png
ColorLineToolAnnotation.png (72.55 KiB) Viewed 118 times
Best regards,

Thomas