Modules
Objects/Functions
SuiteScript 2.0
// Please search https://system.netsuite.com/app/help/helpcenter.nl?search=ChartDefinition.legend for more information.
N/workbook Module
ChartDefinition.legend
Property Description:
The legend of the chart definition.
Type:
workbook.Legend
Module:
N/workbook Module
Parent Object:
workbook.ChartDefinition
Sibling Object Members:
ChartDefinition Object Members
Since:
2020.2
Search NetSuite -
https://system.netsuite.com/app/help/helpcenter.nl?search=ChartDefinition.legend
Example:
// Code Example 1
// Add additional code
//...
// View ChartDefinition.legend
var myWorkbook = workbook.load({
id: myWorkbookId
});
log.audit({
title: 'ChartDefinition.legend = ',
details: myWorkbook.chartDefinitions[0].legend
});
//...
// Add additional code
//SOURCE: https://system.netsuite.com/app/help/helpcenter.nl?fid=section_159060006422.html