Is there anyway to know what color a chart theme will use? I have two issues:
I currently set the series colors manually but want to use the theme colors. Occationally I have two pie chart's showing and they may have a different number of slices, the slices from the same category need to have the same color.
How can I achieve this with themes?
Thanks
Ed Dressel
Themes and Series Colors
Hi Ed,
you can check the palette color using similar code to the following:
(in this case for Excel theme) :
Where ExcelPalette is a constant Array of Chart.pas.
you can check the palette color using similar code to the following:
(in this case for Excel theme) :
Code: Select all
ThemeColor := ExcelPalette[x];
Pep Jorge
http://support.steema.com
http://support.steema.com