PrxChartView.Instance

Syntax

Instance: HighCharts

Description

The Instance property determines an instance of the HighCharts component.

Example

To execute this example, the HTML page must contain the ReportBox component named reportBox (see Example of the ReportBox Component Layout). A chart must be available on regular report sheet. Change the chart title:

var prxChart = reportBox.getDataView().getGridView().getTabSheet().getModel().getObjects()[0].getITabObject(); //get regular report chart
hc = prxChart.getInstance(); //get settings of the HighCharts component
hc.options.title.text = "Regular report chart"; //set new title for the regular report chart
prxChart.refreshJSON(hc.options); //refresh JSON settings of the chart

After executing the example title of the express report chart is changed.

See also:

PrxChartView