TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
-
X-ray
- Newbie

- Posts: 15
- Joined: Thu Dec 15, 2022 12:00 am
Post
by X-ray » Tue Aug 12, 2025 8:38 am
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:
Code: Select all
procedure TfrmXYPlot.XYLimitDragLine(Sender: TColorLineTool);
begin
Sender.Annotation.Text := 'XY Limit: ' + Sender.Value.ToString;
end;
But that text doesn't show up?

- ColorLineToolAnnotation.png (72.55 KiB) Viewed 1363 times
Best regards,
Thomas
-
Yeray
- Site Admin

- Posts: 9724
- Joined: Tue Dec 05, 2006 12:00 am
- Location: Girona, Catalonia
-
Contact:
Post
by Yeray » Mon Aug 18, 2025 2:22 pm
Hello Thomas,
Try setting AnnotationValue
to False
.