Scripting Examples for XY Plots

XY Plot interfaces include:

CimSeries:

Is the XY Plot control series interface.

Stores its two-dimensional data values in two vectors, X and Y, of fixed size.

CimPairData is

The interface that groups the X and Y vectors.

Accessed through the Data property in CimSeries.

CimData is

The interface that defines each vector.

Accessed through either the X or the Y property in CimPairData.

CimPairData and CimData have properties and methods that allow you to perform various operations on the data values. You can:

Resize the series vectors

Access, retrieve and modify vectors' individual values.

Insert one or more values either from the end of the vector or at a specific location within the vector within the same operation.

Review examples to:

Resize the series vectors

Access, retrieve and modify vectors' individual values.

Push one or more data values.

Push values from points.

Set values from points.

XY Plot SmartObject enhancements.

More information

About plotting XY data.