MtxFastLine Class

Source: MtxFastLineSeries.cs · Assembly: Dew.Math.TeePro
BaseLineMtxFastLine

public class MtxFastLine : BaseLine

A series style for fastest possible drawing of a line series.

The series uses PixelDownSample internally to speed up the drawing of the line series. This allows for the series to draw correctly also during zoom-in and pan operation. Only the color of the line can be customized and the step on the X axis must be fixed between consecutive elements (no nulls allowed either). The series is about 3x faster than TMtxFastLineSeries from TChart, when PixelDownSample is not even active yet.

Note
To benefit from the increased drawing speed, use the "DrawValues"function to add data to the series, to speed up also the value adding process.

Properties

NameTypeDescription
DescriptionStringSeries name for editor.
EquidistantSampleTEquidistantSample
PixelDownSampleBooleanIf True, a pixel down sample algorithm will be applied, to increase drawing speed.
TransparencyInt32

Methods

NameDescription
CreateSubGallery
ctor (2)Constructor.
Draw
SetSubGallery