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
TColorLineTool.Annotation value set designtime not respected
Re: TColorLineTool.Annotation value set designtime not respected
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.
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,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TColorLineTool.Annotation value set designtime not respected
Hello again,
This is just to let you know this has already been fixed for the next maintenance release.Yeray wrote:I've added it to the public tracker.
http://bugs.teechart.net/show_bug.cgi?id=1806
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |