Page 1 of 1
how to use a FastLine series to draw the Horizline
Posted: Fri Feb 14, 2014 9:16 am
by 16668167
Hi,
It takes very long time plotting this much data points in horizline series.I don't want to show all points,so I use fastline.But fast line series is vertical line series,how to plot data Horizontally?
Please guide me,thanks.
richfit
Re: how to use a FastLine series to draw the Horizline
Posted: Fri Feb 14, 2014 10:54 am
by narcis
Hi richfit,
Yes, you can achieve that changing ValueLists sorting like and populating series like this:
Code: Select all
uses Series;
procedure TForm1.FormCreate(Sender: TObject);
var Series1: TFastLineSeries;
i: Integer;
begin
Series1:=TFastLineSeries.Create(Self);
Series1.XValues.Order:=loNone;
Series1.YValues.Order:=loAscending;
for i:=0 to 10 do
Series1.AddXY(random, i);
Chart1.AddSeries(Series1);
Chart1.View3D:=False;
end;
Re: how to use a FastLine series to draw the Horizline
Posted: Mon Feb 17, 2014 2:02 am
by 16668167
Thanks for your reply.Thanks very much.
Re: how to use a FastLine series to draw the Horizline
Posted: Mon Feb 17, 2014 2:03 am
by 16668167
Thanks for your reply.Thanks very much.