JavaScript

chartObject.refresh Method

Syntax

chartObj.refresh();

Description

Refreshes the chart and its data series.

Discussion

Refreshes a chart. Refreshing the chart will automatically refresh all data series that the chart is dependent on.

Example

//get a pointer to the chart object
var chartObj = {dialog.object}.getControl('CHART1');

if (chartObj) {
    //call the .refresh() method of the chart object
    chartObj.refresh();
}