Hi all,
I have problem refreshing Z values list in TWorldMap series.
At runtime i must change completelly the Z values, so with a for cycle i locate the label in my database and refresh the Z values with a runtime chosed field (so max can change from 15000 to 10 for example!).
The main problem is that, if i do that, the maxZValue and minZValue aren't refreshed with the new values inserted.
There is a function to refresh this values without cleaning and recreating the values list? Because i think that the color range is based on this values and if max and min aren't refreshed all the color range is wrong.
Have also tried at runtime with TeeCommander but it's impossible to correct it, also using color palette instead of color range.
Refresh Z values list
Hi Manuel,
you could use the Modified property :
you could use the Modified property :
Code: Select all
procedure TForm1.Button2Click(Sender: TObject);
var i : integer;
begin
// Change z values
for i :=0 to Series1.Count -1 do
Series1.ZValues.Value[random(Series1.Count)] := random(1000);
Series1.MandatoryValueList.Modified := true;
Chart1.Invalidate;
end;
Pep Jorge
http://support.steema.com
http://support.steema.com
Hi Manuel,
thanks for your comments, it's a pleasure to know that our customers are satisfied
thanks for your comments, it's a pleasure to know that our customers are satisfied
Pep Jorge
http://support.steema.com
http://support.steema.com