I am using the TColorGridSeries and would like to add a new/custom color palatte like the pre-defined ones. I have tried calling SetDefaultColorPalette like in the example code Custom Palettes but this does not seem to work.
Can you tell me where in your code you define the defaults like Victorian or Pastels?
Iwould like to define an array of colors and add them to the ColorPalettes list then call ApplyPalette. I think this will give me the effect that I am loking for. Is this possible?
Is there a way to recompile the Tee7New application so that I can see examples of the new and fixed items in version 7.06? Is there new help for the latest version?
How to add a default color palette
-
- Site Admin
- Posts: 14730
- Joined: Mon Jun 09, 2003 4:00 am
- Location: Banyoles, Catalonia
- Contact:
Hi leaf,
Yes, you will find an example for that at the TeeChart features demo. The example can be found searching for "applypalette" and is called "Custom Palettes".
Regarding the help, there may be some small improvementes but no major changes.
This is defined at Chart.pas.Can you tell me where in your code you define the defaults like Victorian or Pastels?
Iwould like to define an array of colors and add them to the ColorPalettes list then call ApplyPalette. I think this will give me the effect that I am loking for. Is this possible?
Yes, you will find an example for that at the TeeChart features demo. The example can be found searching for "applypalette" and is called "Custom Palettes".
Yes, you just run the demo included with v7.06 or compile the demo project available at C:\Program Files\Steema Software\TeeChart 706 for Delphi 7\Examples\Features.Is there a way to recompile the Tee7New application so that I can see examples of the new and fixed items in version 7.06? Is there new help for the latest version?
Regarding the help, there may be some small improvementes but no major changes.
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 |