[I've already contact Steema to upgrade to TChart 2010--but cannot put in my release application without some testing.]
I would like to use the pie series colors in TChart 2010 in TChart 8, so that it --how can I do that. What is the color array, and how can I make it so that charts will use that as a default?
Thanks
Ed Dressel
Changing pie series color in TChart 8 to TChart 2010
-
- Advanced
- Posts: 228
- Joined: Tue Aug 28, 2007 12:00 am
- Location: Oregon, USA
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Changing pie series color in TChart 8 to TChart 2010
Hi Ed,
TeeChart v8 already uses Opera palette as default palette. This is the colour palette used in 2010 version along with some additional panel and walls settings. It may not be used at your end because you may have another palette hard coded in the registry key at HKEY_CURRENT_USER\Software\Steema Software\TeeChart Pro\Editor\DefaultPalette. Opera palette value is 13 in decimal or d in hexadecimal.
Hope this helps!
TeeChart v8 already uses Opera palette as default palette. This is the colour palette used in 2010 version along with some additional panel and walls settings. It may not be used at your end because you may have another palette hard coded in the registry key at HKEY_CURRENT_USER\Software\Steema Software\TeeChart Pro\Editor\DefaultPalette. Opera palette value is 13 in decimal or d in hexadecimal.
Hope this helps!
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |
-
- Advanced
- Posts: 228
- Joined: Tue Aug 28, 2007 12:00 am
- Location: Oregon, USA
Re: Changing pie series color in TChart 8 to TChart 2010
I checked the value and there is nothing there (I removed it). Still the same problem.HKEY_CURRENT_USER\Software\Steema Software\TeeChart Pro\Editor\DefaultPalette
I checked the .ColorPaletteIndex of the chart, and it is set to zero after the constructor's inherited is called.
I copied the chart's DFM code and pasted it on a new form and its color palette index is 13.
I stepped through the TChart source code on the development machine and right after calling the inherited of TCustomChart.Create, the value is 0 and is never changed (no break points are ever set).
I can set it to 13 for now, but I sure would like it to work correctly. Any ideas on what.where I should look?
Ed Dressel
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Re: Changing pie series color in TChart 8 to TChart 2010
Hi Ed,
What about right-clicking on the chart at designtime, selecting "Options", going to tbe "New Chart" tab and select the default palette at the left-bottom combobox?
BTW: To get similar aspect to v2010 you can set "Opera" theme as well.
What about right-clicking on the chart at designtime, selecting "Options", going to tbe "New Chart" tab and select the default palette at the left-bottom combobox?
BTW: To get similar aspect to v2010 you can set "Opera" theme as well.
Best Regards,
Narcís Calvet / Development & Support Steema Software Avinguda Montilivi 33, 17003 Girona, Catalonia Tel: 34 972 218 797 http://www.steema.com |
Instructions - How to post in this forum |