Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 600 - TColorLineTool fails to memorize the annotation text in a form resource.
Summary: TColorLineTool fails to memorize the annotation text in a form resource.
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: PC Windows
: High major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
: 599 (view as bug list)
Depends on:
Blocks:
 
Reported: 2014-02-25 06:05 EST by h.hasenack
Modified: 2014-03-13 12:29 EDT (History)
3 users (show)

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version: RAD XE5


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description h.hasenack 2014-02-25 06:05:08 EST
The TColorLineTool should introduce:

property AnnotationText:string read GetAnnoTationtext write SetAnnotationText stored HasAnnotationText;


that allows for storing the annotation text when AnnotationValue is false.

The value is not stored because the TAnnotationTool nor the TAnnotationTool.Shahe store it's text for obvious reasons.

Since the teechart editor allows me to set a annotation ext for the line tool, it should also me memorized in the form resource.

to reproduce:
Create new form with tchart
Add a TColorLineTool
Disable value for the tool, and set a custom caption
save the form
CLose the project and reopen
take a look at the form resourcee: the entered text for the colorline tool annotation is gone.

I require this to put labels on my markers in designtime!
Comment 1 h.hasenack 2014-02-25 10:32:09 EST
It seems formatting isnt stored very well either. When annotation.shape.transparent is set to True, it isnt memorized either.
Comment 2 sandra pazos 2014-02-25 10:42:42 EST
*** Bug 599 has been marked as a duplicate of this bug. ***
Comment 3 david berneda 2014-03-13 12:29:56 EDT
Fixed. The text shape is now stored, including Text and all the other properties like Transparency, etc.