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 - Axis width = 1 is not saved to DFM file
Summary: Axis width = 1 is not saved to DFM file
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Axis (show other bugs)
Version: 140220
Hardware: PC Windows
: --- critical
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-02-26 08:53 EST by trubetskov
Modified: 2014-02-26 12:17 EST (History)
1 user (show)

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


Attachments

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