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 606

Summary: Axis width = 1 is not saved to DFM file
Product: VCL TeeChart Reporter: trubetskov
Component: AxisAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: critical CC: david
Priority: ---    
Version: 140220   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description trubetskov 2014-02-26 08:53:31 EST
If you set <Axis>.Axis.Width equal to 1, it is not saved to DFM file.

The reason: the new default value is 2, while in the base class it is still 1 and only the base class is checking whether to save it or not.

Steps to reproduce with the attached example:
1) Open the project
2) Change LeftAxis -> Axis -> Width to 1
3) Compile and Run the project
4) Axis line width is still 2
5) Exit the project and open it again
6) Line width is still 2 (it is not saved with the project)
Comment 1 david berneda 2014-02-26 12:17:40 EST
Fixed. Now TChartAxisPen correctly sets DefaultWidth:=2 at Create constructor.