TColorLineTool.Annotation value set designtime not respected

TeeChart FireMonkey (Windows,OSX,iOS & Android) for Embarcadero RAD Studio, Delphi and C++ Builder (XE5+)
Post Reply
Leo_
Newbie
Newbie
Posts: 11
Joined: Mon Dec 12, 2016 12:00 am

TColorLineTool.Annotation value set designtime not respected

Post by Leo_ » Mon Feb 27, 2017 8:51 pm

Hi,

Delphi 10.1 Upd2, FMX, TChart V2016.19.161025

Not sure if I'm overlooking something here, but try this in designtime:
- Add a TColorLineTool to a TChart
- In the property editor for the TColorLineTool, set the AnnotationValue property to true to see the Annotation designtime.
- Now set the AnnotationValue property to false, and the Annotation will still be displayed.

Leo

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TColorLineTool.Annotation value set designtime not respected

Post by Yeray » Tue Feb 28, 2017 11:22 am

Hello Leo,

The action of setting the AnnotationValue to true sets the TAnnotationTool's Shape.Text property in the dfm, and setting the AnnotationValue property back to false isn't resetting it.
The same happens in VCL.
I've added it to the public tracker.
http://bugs.teechart.net/show_bug.cgi?id=1806

In the meanwhile, you can go to the "Text View" of the dfm and set an empty string to the TAnnotationTool's Shape.Text property, or remove that line.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Yeray
Site Admin
Site Admin
Posts: 9613
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: TColorLineTool.Annotation value set designtime not respected

Post by Yeray » Tue Feb 28, 2017 11:48 am

Hello again,
Yeray wrote:I've added it to the public tracker.
http://bugs.teechart.net/show_bug.cgi?id=1806
This is just to let you know this has already been fixed for the next maintenance release.
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply