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!
Increment LeftAxis change shows NO reaction
Hi.
Which TeeChart version are you using ? Also, how big is the chart ? Looking at your setup in first case chart should display only (230-210)/5 = four labels. This by itself should not be problematic i.e. there should be enough space for all four axis labels. Does it help if you change axis label separation ?
If possible, can you send me small sample application which demonstrates this problem ? You can send it to marjan at steema dot email address (sources only)
Which TeeChart version are you using ? Also, how big is the chart ? Looking at your setup in first case chart should display only (230-210)/5 = four labels. This by itself should not be problematic i.e. there should be enough space for all four axis labels. Does it help if you change axis label separation ?
If possible, can you send me small sample application which demonstrates this problem ? You can send it to marjan at steema dot email address (sources only)
Marjan Slatinek,
http://www.steema.com
http://www.steema.com