workbook.DataDimension
The content in this help topic applies to SuiteScript 2.x.
Object Description |
A data dimension. A data dimension can be used when you create a category, a legend, a pivot axis, a dimension selector, or a section. You can create a data dimension using workbook.createDataDimension(options). |
Supported Script Types |
Server scripts For more information, see SuiteScript 2.x Script Types. |
Module |
|
Methods and Properties |
|
Since |
2020.2 |
Syntax
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.
// Add additional code
...
var myDataDimension = workbook.createDataDimension({
items: [myDataDimensionItem]
});
...
// Add additional code