Page 1 of 1

Persistent TeeChart Color Palette

Posted: Mon Oct 03, 2011 8:20 pm
by 16558547
If the default color palette is something other than TeeChart (index value 0), the persistent save/load of the chart will not use the TeeChart color palette, but rather the default color palette. For example, do the following:

1. Set the design default palette to Opera.
2. Load a chart for design (LoadChartFromStream).
3. Change the Color Palette in the Themes to TeeChart, and then Apply. The changes are made to the chart.
4. Save the chart from design (SaveChartToStream).

When the chart is reloaded for use, the Color Palette for the chart will be Opera.

It is not possible to use the TeeChart palette consistently unless the default Color Palette is TeeChart. This value is the only one that behaves this way, and I suspect it is because it has an index value of 0 in the list.

Re: Persistent TeeChart Color Palette

Posted: Tue Oct 04, 2011 3:23 pm
by 10050769
Hello miked,

You are right. I have added this bug in list report with number [TV52015773]. We will try to fix it for next maintenance releases of TeeChartVCL.

Thanks,