Changes in Themes

TeeChart for ActiveX, COM and ASP
Post Reply
Arieh
Newbie
Newbie
Posts: 28
Joined: Mon Feb 21, 2011 12:00 am

Changes in Themes

Post by Arieh » Wed Apr 06, 2011 4:34 pm

HI,
I have noticed that the default color palette theme in TeeChart 2010 is "Opera", whereas in TeeChart 7 it was "Default".
This issue has is currently blocking us from upgrading to TeeChart2010.

Currently we are calling SetTheme after the constructor, but before LoadFromFile. It seems sometimes it overrides the default, and sometimes it doesnt.
axTChart1.SetTheme(TeeChart.EChartTheme.ctDefault, TeeChart.EColorPalette.cpTeeChart);
axTChart1.Import.LoadFromFile(this.openFileDialog1.FileName);

(I can provide example tee files if necessary - please send me an email address to respond to)

1. Please can you tell me the all the exact differences between the defaults of charts created in TeeChart 7 vs 2010.
2. How is it possible to convert the contents of a ".tee" to a user readable format so that I can see all the attributes easily?
3. There is a SetTheme method, but no GetTheme method. How can I do the equivalent of GetTheme?

Thanks.

Arieh
Newbie
Newbie
Posts: 28
Joined: Mon Feb 21, 2011 12:00 am

Re: Changes in Themes

Post by Arieh » Thu Apr 07, 2011 8:07 am

How can you change just the TeeChart.EColorPalette, without changing the TeeChart.EChartTheme ?
This is possible via the user interface, via setting the EColorPalette to "current", however it is not clear how to do this via the code, since there is no "Current" value within the EColorPalette enum.

Narcís
Site Admin
Site Admin
Posts: 14730
Joined: Mon Jun 09, 2003 4:00 am
Location: Banyoles, Catalonia
Contact:

Re: Changes in Themes

Post by Narcís » Thu Apr 07, 2011 8:08 am

Hi Arieh,
1. Please can you tell me the all the exact differences between the defaults of charts created in TeeChart 7 vs 2010.
We don't have such a list. You could look at the version info page for changes documented in v8 and v2010.
2. How is it possible to convert the contents of a ".tee" to a user readable format so that I can see all the attributes easily?
Yes, you can convert *.tee files to *.txt using ConvertTeeFileToText, for example:

Code: Select all

      axChart.Export.ConvertTeeFileToText(fileName, TextFile);
3. There is a SetTheme method, but no GetTheme method. How can I do the equivalent of GetTheme?
This feature is not yet available, once the theme has been applied it cannot be consulted. The only way would be to save it manually when the user selects it.
Best Regards,
Narcís Calvet / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply