ChartXY Method

Measurement Studio User Interface

ChartXY Method

Syntax

CWGraph.ChartXY xyData [, bChartPerRow = True]

Purpose

Charts a two-dimensional array of data. This method is similar to the PlotXY method, except that the previously plotted data is not deleted until the amount stored for each chart 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

xyData As Variant

The data to chart.

bChartPerRow As Variant

[Optional] If True, the first row in the data array contains the X data and subsequent rows contain plots of Y data. If False, the first column in the data array contains the X data and subsequent columns contain plots of Y data.

This parameter has a default value of True.

See Also

PlotXY

PlotY

ChartLength

CWPlot.ChartY

CWPlot.PlotY