TiPlotChannel.FastDrawEnabled

TiPlotComponent

Improves system performance when a large number of data points are displayed in the visible data view of the chart.

property FastDrawEnabled : Boolean;

Description

Use FastDrawEnabled to improve system performance when a large number of data points are displayed in the visible data view of the chart.

When the data is drawn in the visible data view of the chart, each data point is connect with a line segment. The drawing of each line segment is very inefficient. If this feature is enabled and the number of line segments per horizontal pixel on the screen exceeds 2, only 1 line segment is drawn per horizontal pixel regardless of the number of actual data points per horizontal pixel. The line segment drawn at each horizontal pixel is calculated from the min and max of the underling data at that point and one vertical line is drawn.

The improvement in performance is equal to the ratio of visible data points divide by the width of the chart in pixels.

Example

Delphi

iComponent.Channel[0].FastDrawEnabled := True;

C++ Builder

iComponent->Channel[0]->FastDrawEnabled = True;

Contents | Index | Previous | Next