ScatterPlot.GetNumCurves

Prototypes

int GetNumCurves()

Return Value

The return value is the number of curves contained in the ScatterPlot.

Parameters

None

Remarks

This method returns the number of curves contained in the ScatterPlot.

Example
x = { 1 2 3 4 5 6 7 8 };
y = { 2 1 2 4 3 5 6 9 };
declare ScatterPlot plot;
plot = ScatterPlot.Create( "Sample Data", x, y );
plot.CreatePolyCurve( 1 );
plot.CreatePolyCurve( 2 );
n = plot.GetNumCurves();
print n;