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 - TChartAxis.Items is not persistent
Summary: TChartAxis.Items is not persistent
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: unspecified
Hardware: PC Windows
: Normal normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-03 05:40 EDT by h.hasenack
Modified: 2015-05-13 04:17 EDT (History)
2 users (show)

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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.