Increment LeftAxis change shows NO reaction
Posted: Thu Feb 26, 2004 9:33 am
Hi folks,
After a long time I have to use TEE again and need to change some
Code of an old program. I ran into the following
URGENT Problem:
Resizing increment of LeftAxishas NO effect.
All automatic is OFF.
Code used is:
procedure TMainForm.setupGraphSpannung;
var
i: Integer;
begin
with Chart do begin
LeftAxis.Minimum := 0;
LeftAxis.Maximum := 230;
LeftAxis.Minimum := 210;
LeftAxis.Increment := 5;
LeftAxis.Title.Caption:='V';
Title.Text.Clear;
Title.Text.Add('Verlauf Netzspannung');
end;
ShowOldDataOnChart;
end;
procedure TMainForm.setupGraphLuftdruck;
var
i: Integer;
begin
with Chart do begin
LeftAxis.Minimum := 0;
LeftAxis.Maximum := 1200;
LeftAxis.Minimum := 800;
LeftAxis.Increment := 50.0;
LeftAxis.Title.Caption:='mbar';
Title.Text.Clear;
Title.Text.Add('Verlauf Luftdruck');
end;
ShowOldDataOnChart;
end;
Left Axis increment sticks to its old value.
What could be wrong?
By the way: the setting of max/min works fine!
After a long time I have to use TEE again and need to change some
Code of an old program. I ran into the following
URGENT Problem:
Resizing increment of LeftAxishas NO effect.
All automatic is OFF.
Code used is:
procedure TMainForm.setupGraphSpannung;
var
i: Integer;
begin
with Chart do begin
LeftAxis.Minimum := 0;
LeftAxis.Maximum := 230;
LeftAxis.Minimum := 210;
LeftAxis.Increment := 5;
LeftAxis.Title.Caption:='V';
Title.Text.Clear;
Title.Text.Add('Verlauf Netzspannung');
end;
ShowOldDataOnChart;
end;
procedure TMainForm.setupGraphLuftdruck;
var
i: Integer;
begin
with Chart do begin
LeftAxis.Minimum := 0;
LeftAxis.Maximum := 1200;
LeftAxis.Minimum := 800;
LeftAxis.Increment := 50.0;
LeftAxis.Title.Caption:='mbar';
Title.Text.Clear;
Title.Text.Add('Verlauf Luftdruck');
end;
ShowOldDataOnChart;
end;
Left Axis increment sticks to its old value.
What could be wrong?
By the way: the setting of max/min works fine!