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.
Persistent TeeChart Color Palette
Re: Persistent TeeChart Color Palette
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,
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,
Best Regards,
Sandra Pazos / 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 |