Hi!
I was trying to create a Chart with multiple panes (something like this one
https://wiki.freepascal.org/TAChart_Tutorial:_Multiple_Panes_in_one_Chart) and discovered some strange behavior of TChart:
- when axis X is aligned at the bottom and Y-axis (3 items) on the left - all works fine (img_1.png);
- when axis X is aligned on the left and Y-axis at the bottom - the first line on the Chart is not drawing at the point [x = 1, y = 1] (img_2.png, img_3.png).
Is this a bug or just my mistake?
The code is simple:
procedure TForm1.FormCreate(Sender: TObject);
var
i: Integer;
begin
for i := 1 to 1000 do
begin
Chart1LineSeries1.AddXY(i, i);
Chart1LineSeries2.AddXY(i, i);
Chart1LineSeries3.AddXY(i, i);
end;
end;
FPC: 3.0.4
Lazarus: 2.0.8