WbkPropertyBarView.getMainSeriesPanel

Syntax

getMainSeriesPanel();

Description

The getMainSeriesPanel method returns the Primary panel.

Comments

This method returns an object of the PP.TS.Ui.MainSeriesPanel type.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component. Show the Primary panel:

// Get workbook properties panel
var propertyBar = workbookBox.getPropertyBarView();
// Get the Primary panel
var mainSeriesPanel = propertyBar.getMainSeriesPanel();
// Display panel
mainSeriesPanel.show();
// Expand panel
mainSeriesPanel.expand();
// Refresh the Apply Transformation drop-down list
propertyBar.updateViewAsMenu();

After executing the example the Primary panel is shown:

See also:

WbkPropertyBarView