IsoSurface 3D Chart Palete Problem
Posted: Tue Aug 31, 2010 6:24 pm
Hi,
Im trying to make a TIsoSurface serie in the chart using this kind of code below:
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?
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;
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?