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 1187

Summary: TChartAxis.Items is not persistent
Product: VCL TeeChart Reporter: h.hasenack <hans>
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: normal CC: david, hans
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD XE7

Description h.hasenack 2015-04-03 05:40:24 EDT
You can use the tchart editor to manipulate labels and values for TChartAxis.Items. However, when the chart is stored and re-opend, the items are not restored. Regardless wheter axis is set to automatic or not.

Inspecting the source reveals the TChartAxis.Items are not marked as "Published" nor is there a TChartAxis.DefineProperties override that would allow to store and reload specific axis items.

We want to us this for eg setting the first and last value with a special label rather than a value.

IMO there should be a chack if ther items have been "manually altered" and not simply generated to decide wheter they have to be stored or not.

Anyway, it is confusing that you can change it through the TChart editor, bat the change is not persistent when saving the chart with it's form or frame.
Comment 1 david berneda 2015-05-13 04:17:27 EDT
Fixed. 
Items can now be edited at design-time (VCL and Firemonkey), and they persist to dfm/fmx or *.tee format.