Queries for color grid series

TeeChart for ActiveX, COM and ASP
Post Reply
amol
Advanced
Posts: 231
Joined: Tue Mar 29, 2005 5:00 am

Queries for color grid series

Post by amol » Tue Sep 03, 2013 12:55 pm

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

Yeray
Site Admin
Site Admin
Posts: 9614
Joined: Tue Dec 05, 2006 12:00 am
Location: Girona, Catalonia
Contact:

Re: Queries for color grid series

Post by Yeray » Tue Sep 03, 2013 2:36 pm

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
Best Regards,
ImageYeray Alonso
Development & Support
Steema Software
Av. Montilivi 33, 17003 Girona, Catalonia (SP)
Image Image Image Image Image Image Please read our Bug Fixing Policy

Post Reply