TFastLineSeries.DrawAllPoints

TFastLineSeries.DrawAllPoints
TFastLineSeries

property DrawAllPoints: Boolean;

Unit
Series

Description
The DrawAllPoints property controls how many points in a FastLine series will be displayed.

The main reason of this property is to accelerate displaying thousands of points in a FastLine series.

When True (the default), all points are displayed.

When set to False, it will only display points that have a different "X" position in screen pixels.

So, when the series has several points that share the same X pixel position, but with different Y position, it will only display the first point.

When set to True (the default), only points that have a different X or a different Y pixel position are displayed.

In some cases, setting DrawAllPoints can dramatically speed up displaying a FastLine series with lots lots of points.
But, as not all points are displayed, the final output might not be as accurated.

When a FastLine series points have similar Y values from a big range ( YValues.MaxValue very different than YValues.MinValue ), DrawAllPoints might help to display them faster while lossing very little accuracy.