WbkPropertyBarView.getChartMaster

Syntax

getChartMaster(chartView: PP.Exp.Ui.EaxChartView);

Parameters

chartView. Component that displays a chart.

Description

The getChartMaster method returns a chart wizard.

Comments

The method returns an object of the PP.Ui.ChartMaster type.

Example

To execute the example, the HTML page must contain the WorkbookBox component named workbookBox (see Example of Creating the WorkbookBox Component), and all the workbook views must be displayed. Hide all wizards, show chart wizard and refresh the workbook side panel:

// Get workbook properties panel
var propertyBarView = workbookBox.getPropertyBarView();
// Hide all wizards
propertyBarView.hideAllMasters();	
// Determine chart wizard variable
var chartMaster = propertyBarView.getChartMaster(workbookBox.getDataView().getChartView());
// Display chart wizard
chartMaster.show();
// Refresh component
propertyBarView.refreshAll();

After executing the example all wizards are hidden, chart wizard is shown, and workbook side panel is refreshed:

See also:

WbkPropertyBarView