CPlotView:GetSeriesMode


The GetSeriesMode method returns the current plot series mode for the plot window.

Syntax

nMode = CPlotView:GetSeriesMode()

    nMode is the series mode, a number starting at 1.

Example

Suppose a CPlotView exists and its window is set to "over-plot" mode. The following script returns the mode:

 

P = CPlotView:new()

-- create a new CPlotView

 

-- do something with the plot

nMode = P:GetSeriesMode()

-- return the plot series mode

Printf( "mode = %d\n", nMode )

-- result: Mode = 4

Related Topics

SetSeriesMode

CPlotView class

Plot Series Modes