Page 1 of 1

Coloring of Color Grid series.

Posted: Thu Apr 30, 2020 3:03 pm
by 9526439
Hi,

We are currently using Tee-Chart Active X 2018.0. We are facing a problem related to Color Grid series. We have plotted the data through the Color Grid series w.r.t. its coloring. 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 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.

Re: Coloring of Color Grid series.

Posted: Fri May 08, 2020 7:43 am
by yeray
Hello,

The "Remove Custom Colors" button loops the PointColor array and resets it as follows:

Code: Select all

    Dim i As Integer
    For i = 0 To TChart1.Series(0).Count - 1
      TChart1.Series(0).PointColor(i) = clTeeColor
    Next i