ChartY Method

Measurement Studio User Interface

ChartY Method

Syntax

CWPlot.ChartY yData [, xInc = 1]

Purpose

Charts a 1D array of data. This method is similar to the PlotY method, except that the system does not delete the previously plotted data until the amount stored is greater than the CWGraph.ChartLength property specifies.

Remarks

Use the Plot and Chart methods on a CWPlot object if you want to modify a single plot without affecting the other plots. Use the Plot and Chart methods on the CWGraph object if you want to modify all existing plots.

Parameters

yData As Variant

One-dimensional array of data to chart.

xInc As Variant

[Optional] The amount to increment X for each point.

This parameter has a default value of 1.

See Also

PlotY