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 656 - Method and button at the editor which allows to clone a Chart of SubChart tool.
Summary: Method and button at the editor which allows to clone a Chart of SubChart tool.
Status: RESOLVED FIXED
Alias: None
Product: VCL TeeChart
Classification: Unclassified
Component: Tools (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- enhancement
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-03-24 05:12 EDT by pep jorge
Modified: 2014-03-24 12:59 EDT (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 pep jorge 2014-03-24 05:12:48 EDT
Method and button at the editor which allows to clone a Chart of SubChart tool.
Comment 1 david berneda 2014-03-24 12:59:32 EDT
Done. Added Clone button and new method, example:

var tmp : TSubChart;
tmp := ChartTool1.Charts.Clone(ChartTool1.Charts[3].Chart);

Clone will duplicate the Chart, Series, Tools, etc and will add this new chart in the collection.

Note: The new chart Name property is set using the editor, but not using the method.

Also the editor will move the new chart a little bit to right and bottom, to make it visible.  

The Charts.Clone method will not alter the new chart position, it will be the same as the original chart.