ChartLength Property

Measurement Studio User Interface

ChartLength Property

Syntax

CWGraph.ChartLength

Data Type

Long

Purpose

Specifies how many points the graph stores when charting before it deletes old data.

Remarks

Set this property to 0 to store only enough points to fill the plot area.

If the AutoScale property is enabled on the x axis, the system does not recalculate the chart length.

Only the ChartY method supports automatic chart length calculation. The ChartXY and ChartXvsY methods do not.

If you change the x-axis range (the XInc parameter) between calls to ChartY, there might not be enough data to fill the plot area.

See Also

ChartY

CWPlot.ChartY