Page 1 of 1

Queries for color grid series

Posted: Tue Sep 03, 2013 12:55 pm
by 9526439
Hi,

We are currently using Tee-Chart Active X 7.0. We are facing a problem related to Color Grid series. We have plotted the data through the Color Grid series. When we open the T-Chart editor and select the Grid 3D tab, three tabs i.e. “Single” tab or “Range” tab or “Palette” tab appear.

Here when we change the colors either through the “Single” tab or “Range” tab or “Palette” tab, the grid plotted do not update with the color changes. But if I go to “Single” tab and click on button “Remove custom colors”, the white portions of the color grid also gets colored and now all the color changes done either through the “Single” tab or “Range” tab or “Palette” tab do affect the color grid plotted on T-Chart.

I wanted to handle the “Remove custom colors” option at code level, but was not able to find the same. Please suggest.

Also, when we change the Range or Palette style, the legend gets updated

I want to get the list of all the colors, which gets updated on the legend, when I change the Range or Palette style. I was trying the same with the following code, but it retrieved wrong colors.

long LegendItems = m_Chart.Series(colorgridseriesindex).CountLegendItems();
for(int i=0;i<LegendItems;i++)
{
unsigned long color = m_Chart.Series(colorgridseriesindex). LegendItemColor(i);
}


Please suggest if there is any way to directly access the updated colors.

Regards,
Hardeep

Re: Queries for color grid series

Posted: Tue Sep 03, 2013 2:36 pm
by yeray
Hi Hardeep,

I think you created two threads with the same question by mistake.
We'll answer you asap in the other one:
http://www.teechart.net/support/viewtop ... =1&t=14328