Persistent TeeChart Color Palette

TeeChart VCL for Borland/CodeGear/Embarcadero RAD Studio, Delphi and C++ Builder.
Post Reply
miked
Newbie
Newbie
Posts: 8
Joined: Mon Feb 14, 2011 12:00 am

Persistent TeeChart Color Palette

Post by miked » Mon Oct 03, 2011 8:20 pm

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.

Sandra
Site Admin
Site Admin
Posts: 3132
Joined: Fri Nov 07, 2008 12:00 am

Re: Persistent TeeChart Color Palette

Post by Sandra » Tue Oct 04, 2011 3:23 pm

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,
Best Regards,
Sandra Pazos / Development & Support
Steema Software
Avinguda Montilivi 33, 17003 Girona, Catalonia
Tel: 34 972 218 797
http://www.steema.com
Image Image Image Image Image Image
Instructions - How to post in this forum

Post Reply