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 514

Summary: Custom theme
Product: VCL TeeChart Reporter: Shinobu Nagai <nagai>
Component: EditorsAssignee: Steema Issue Manager <issuemanager>
Status: RESOLVED NOTABUG    
Severity: major CC: david, sandra
Priority: ---    
Version: 131119   
Target Milestone: ---   
Hardware: PC   
OS: Windows   
URL: http://www.teechart.net/directline/viewtopic.php?f=5&t=886&start=10#p4279
Chart Series: --- Delphi / C++ Builder RAD IDE Version: RAD 2010
Attachments: Custom theme

Description Shinobu Nagai 2013-12-11 19:45:18 EST
Created attachment 54 [details]
Custom theme

After creating and saving a Custom theme, if the saved theme is selected from Chart Editor, it's not displayed. For example,
 
1. adds a PointSeries and a ColorBandTool and then sets the colors. 
2. clicks the "Save as ..." button and names it as "My Theme".
3. deletes the ColorBandTool and then selects "My Theme" from the tree, but it's not displayed.
Comment 1 david berneda 2013-12-13 05:38:57 EST
This is as designed (not a bug).
Themes are only valid for properties like color, font name, font size, etc.

Themes do not create objects because its impossible to know if the object (for example a ColorBand) should be created again or was already created the last time the theme was applied. 

ie: If you have 3 colorbands and apply a Theme, you'll get 4 colorbands. If you apply the theme again, you'll get 5 colorbands.