PlotWindow.AddSeries(PlotSeries) Method

Top 

Description

Adds the PlotSeries object to the PlotWindow object and draws any data stored by the PlotSeries object. Returns the index of the added series, which can be used with the PlotWindow.Series array property. As a note, to add an empty PlotWindow.Series to the PlotWindow you must specify both the series name and series type.

 

Timing Precision Mode

This page describes functionality in nanosecond timing precision mode.

Click here to see the documentation for this object in millisecond timing precision mode.

 

Method Signature

PlotWindow.AddSeries(

PlotSeries series)

 

 

Arguments

series


Description:

The series to add to the PlotWindow object.

Allowed Types:

PlotSeries, PlotPolynomialSeries, PlotScatterSeries

 

 

 

Return Value

Type:

number

 

 

Returns the index of the PlotSeries that was added to the calling PlotWindow.

 

Syntax

myVariable1 = myPlotWindow1.AddSeries(myPlotSeries1);

 

 

See also

PlotWindow Object

PlotWindow.AddSeries

PlotWindow Guide