workbook.Series

Object Description

A series in a workbook. A series is used when you create a chart definition.

Use workbook.createSeries(options) to create this object.

Supported Script Types

Server scripts

For more information, see SuiteScript 2.x Script Types.

Module

N/workbook Module

Methods and Properties

Series Object Members

Since

2020.2

Syntax

Important:

The following code sample shows the syntax for this member. It is not a functional example. For a complete script example, see N/workbook Module Script Samples. Also see Full scripts in the Tutorial: Creating a Workbook Using the Workbook API topic.

            // Add additional code
...
// Create a Series
var mySeries = workbook.createSeries({
    aspects: [myAspect]
});

// View a workbook.Series used in a Chart
var myWorkbook = workbook.load ({
    id: myWorkbookId
});

var mySeries = myWorkbook.charts[0].series[0];

log.audit({
    title: 'Series.aspect = ',
    details: mySeries.aspects[0]
});
...
// Add additional code 

          

Related Topics

General Notices