EaxDataView.getChartView

Syntax

getChartView();

Description

The getChartView method returns the Chart data view in the working area of express report.

Example

Executing the example requires that the HTML page contains the ExpressBox component named expressBox (see Example of Creating the ExpressBox Component). Set the chart type to Pie Chart:

// Get an object of the EaxDataView class
var dataView = expressBox.getDataView();
dataView.getChartView().setChartType("pie");

After executing the example the chart (it is a line chart by default) transforms into a pie chart:

See also:

 EaxDataView