Hi,
Is it possible to draw line segments which aren't connected.
For example connect 1,1 to 2,2 then have another segment 3,3 to 4,4 with no connection between 2,2 to 3,3 ?
Regards, Brett.
TFastLine segments
Re: TFastLine segments
Hello,
You could play with Null Points. Note a line segment is not drawn if the origin or the destination points are null.
So, in the case you described, you could add a null point at x=2.5 and the segments from x=2 to 2.5 and from x=2.5 to 3 won't be drawn:
You could play with Null Points. Note a line segment is not drawn if the origin or the destination points are null.
So, in the case you described, you could add a null point at x=2.5 and the segments from x=2 to 2.5 and from x=2.5 to 3 won't be drawn:
Code: Select all
procedure TForm1.FormCreate(Sender: TObject);
begin
Series1.AddXY(1,1);
Series1.AddXY(2,2);
Series1.AddXY(3,3);
Series1.AddXY(4,4);
Series1.AddNullXY(2.5,0);
end;
Best Regards,
Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) | |
Please read our Bug Fixing Policy |
Re: TFastLine segments
As always thanks Yeray, worked like a charm once I figured the DoNotPaint flag was also required when doing it manually.