Color disappear when I change a level value
Posted: Fri Mar 11, 2005 4:52 pm
Hello,
I have a TContourSeries which contains lots of XYZ value.
When I write the following lines :
Series.CreateAutoLevels;
Series.NumLevels := 10;
Series1.EndColor := clBlue;
Series1.MidColor := ClGreen;
Series1.StartColor := clRed;
Series1.UseColorRange := true;
With that, the color palette is good.
I would like to have the possibility to draw the levels with a specified value.
For example, I write :
Series.Levels [0].UpToValue := 50;
But when I add this line, all the color become white and I lose all the color palette...
Can you help to find the solution ???
I have a TContourSeries which contains lots of XYZ value.
When I write the following lines :
Series.CreateAutoLevels;
Series.NumLevels := 10;
Series1.EndColor := clBlue;
Series1.MidColor := ClGreen;
Series1.StartColor := clRed;
Series1.UseColorRange := true;
With that, the color palette is good.
I would like to have the possibility to draw the levels with a specified value.
For example, I write :
Series.Levels [0].UpToValue := 50;
But when I add this line, all the color become white and I lose all the color palette...
Can you help to find the solution ???