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 383 - [TF02013182] Applying a theme to a chart seems to corrupt it in that the backgroun...
Summary: [TF02013182] Applying a theme to a chart seems to corrupt it in that the back...
Status: CONFIRMED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: Editors (show other bugs)
Version: unspecified
Hardware: All All
: Normal major
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-07-01 12:01 EDT by narcís calvet
Modified: 2013-11-20 11:26 EST (History)
0 users

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 narcís calvet 2013-11-20 11:26:45 EST
Applying a theme to a chart seems to corrupt it in that the background visible and/or transparant settings are changed. When I go to the themes tab in the chart editor and select a theme the preview is correctly shown, however if I then change the color palette the background of the preview goes to grey (i.e. transparant). After this, setting the color palette back again does not clear the problem. Interestingly enough if I apply the theme and close the editor, it appears correctly on the chart. If I then reopen the editor the background of the chart greys out again.

I believe it's some setting in my chart before I open the editor but I don't know what. I have created a new chart and before opening the editor exported the ten file, I've uploaded this to my website.

If you open the Feature Demo program and go to All Features --> Importing --> Chart --> From Url and enter

Code:
http://www.captelldevelopments.com/ftp/sample.ten


click Import you will see the chart. Now double click the yellow bit at the top of the window to get the chart editor.

go to Themes tab and select Blues, the preview is shown correctly using the default Opera color palette.

now change the color palette to Windows Vista. the background greys out.

Change back to Opera and it's not fixed.

Close the editor and reImport the chart ten file again and look at the Panel background settings in the editor, Transparant is checked, this is something I'm not settings explicitly in my code. Now, uncheck Transparant and click the Pattern button, goto the Solid tab, Visible is checked but Transparancy is set to 100%, this is also something that I don't set explicitly in my app. Set Transparancy to 0 and choose a solid color. The chart changes to reflect the new colour, all good so far, close the Hatch Brush Editor.

Now go to themes tab, choose blues and change the color palette to Windows Vista, the preview background greys out, click apply (the chart looks ok) and close, strangely enough the chart sort of looks ok. Now resize the window, the background of the chart greys out.

Open the editor again and go to Chart --> Panel --> Background --> click the Pattern button and look at the Visible check box.... It's been cleared. If you check this the chart is corrected. but if you close the editor and resize the window again it reverts to being unchecked...


There is something mighty strange going on here.  [created:2008-07-01T11:01:42.000+01:00 reported by:narcis@steema.com reported in version:Build 3.5.3065.19160 (TeeChart for .NET)]