CalcIncrement problem
Posted: Tue Aug 30, 2005 2:33 pm
Hi,
I'm using Delphi 5 and TeeChart V7.04 Pro Vcl.
When I create a horizontal bar chart with values from 0 to 1 then the increment for bottom axis is calculated wrongly i.e. axis labels overlap.
To see the problem just create a new application, put Chart on the form and fill in OnCreate event:
I'd rather not change the Increment (to keep the axis in autoincrement mode).
Maybe someone knows a workaround.
Thanks.
Damian.
I'm using Delphi 5 and TeeChart V7.04 Pro Vcl.
When I create a horizontal bar chart with values from 0 to 1 then the increment for bottom axis is calculated wrongly i.e. axis labels overlap.
To see the problem just create a new application, put Chart on the form and fill in OnCreate event:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
var
bar: TChartSeries;
begin
Chart1.Legend.Visible := False;
bar := Chart1.AddSeries(THorizBarSeries);
bar.Add(1.00, 'Bar 1', clRed);
bar.Add(0.50, 'Bar 2', clBlue);
bar.Add(0.75, 'Bar 3', clGreen);
bar.Marks.Visible := False;
end;
Maybe someone knows a workaround.
Thanks.
Damian.