Page 1 of 1

IsoSurface 3D Chart Palete Problem

Posted: Tue Aug 31, 2010 6:24 pm
by 10553998
Hi,

Im trying to make a TIsoSurface serie in the chart using this kind of code below:

Code: Select all

...
with Series1 do
begin
    for i := 1 to 29 do
         for j := 1 to 29 do
             AddXYZ(i, MyMatrix[i, j], j);
    for k := 1 to 15 do
        AddPalette(MyScaleValues[k], MyColors[k]);
end;
And it did well, except for the colors of the palete works like each color is placed in chart below the value (in Y axis) because it obey the palete rule: palete(upToVale, color);.
But I need something that works with a rule like this: palete(FromStartValue, color);
If I give a next color, of my sequence colors, the chart match with what I want, but the Legend does not match the color with the correct value; and if I do like I'm doing the Legend gets OK, but the colors in chart does not match with my needs.

Is there some way, property or code, that do the trick?

Re: IsoSurface 3D Chart Palete Problem

Posted: Thu Sep 02, 2010 2:04 pm
by yeray
Hi Luis,

The easier would be to modify the legend symbols or the legend texts. Take a look a the following examples in the "features demo" program:
- All features\Welcome !\Miscellaneous\Legend\Symbol OnDraw
- All features\Welcome !\Miscellaneous\Legend\Items property

Re: IsoSurface 3D Chart Palete Problem

Posted: Thu Sep 09, 2010 9:27 pm
by 10553998
Hi Yeray,

Please give me the path to get this Features Demo program, I have searching im my Steema DVD and I do not found it.
If this sample is inside Steema website give me the link to download.

Thank you.

Re: IsoSurface 3D Chart Palete Problem

Posted: Fri Sep 10, 2010 3:24 pm
by yeray
Hi Luis,

The Feature demo program is included with the installer. Once you install TeeChart, you should find a shortcut to it in the StartMenu, ina route similar to StartMenu/Programs/Steema TeeChart v2010 fo Delphi 2010/New Features Demo.
The exe should be in the installation path, something like C:\Program Files\Steema Software\TeeChart 2010 for Delphi 2010\Examples\Tee9New.exe
And the sources at C:\Program Files\Steema Software\TeeChart 2010 for Delphi 2010\Examples\Features\