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 370

Summary: [TF02014729] There are a problem with Chart.Panel.Clone(). Client commented next: ...
Product: .NET TeeChart Reporter: sandra pazos <sandra>
Component: OthersAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED FIXED    
Severity: major    
Priority: Normal    
Version: unspecified   
Target Milestone: ---   
Hardware: All   
OS: All   
Chart Series: --- Delphi / C++ Builder RAD IDE Version:

Description sandra pazos 2013-11-20 11:26:05 EST
There are a problem with Chart.Panel.Clone(). Client commented next: the method Panel.Clone() only returns the default values for the Panel. The reason is that Clone() method is actually implemented in the parent class Shape and consequently is not aware of the fields in the Panel class.  I could reproduce it using next lines of code: 
           tChart1.Panel.MarginBottom = 5.0;
            object obj=  tChart1.Panel.Clone(); 
MarginBottom of obj is 4.0.
It occurs in last version 3 and last version 4 and is produced for each components of TeeChart(Series,panel,tool...). 
 [created:2010-03-12T13:22:28.000+01:00 reported by:sandra@steema.com reported in version:Build 3.5.3700.30574 (TeeChart for .NET)]