PlotWindow.AddSeries(String, String) 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(

String seriesName,


String seriesType)

 

 

Arguments

seriesName


Description:

The name of the series to add.

 

 

seriesType


Description:

Series type to set. Must be a valid PlotSeries object type.

Valid Values:

Value

Label

"PlotScatterSeries"

PlotScatterSeries

"PlotPolynomialSeries"

PlotPolynomialSeries

 

 

 

 

Return Value

Type:

number

 

 

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

 

Syntax

myVariable1 = myPlotWindow1.AddSeries(myString1, myString2);

 

 

See also

PlotWindow Object

PlotWindow.AddSeries

PlotWindow Guide