TiStripChart.EnableDataDrawMinMax
TiStripChart
Improves system performance when a large number of data points are displayed
in the visible data view of the chart.
property EnableDataDrawMinMax : Boolean;
Description
Use EnableDataDrawMinMax 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.EnableDataDrawMinMax := True;
C++ Builder
iComponent->EnableDataDrawMinMax = True;
Contents | Index | Previous | Next