ChartDirector 7.0 (PHP Edition)

WebChartViewer.setChartModel


Usage

setChartModel(jsChartModel)

Description

Sets the Javascript Chart Model of the chart for the purpose of support track cursors.

To support track cursors in a web application, the browser would need know certain details of the chart, its data, chart type and axis configuration. The Javascript Chart Model is a textual representation of those information. The WebChartViewer will send it to the browser to be used by the browser side JsChartViewer.

The format of the Javascript Chart Model is not published.

Arguments

ArgumentDefaultDescription
jsChartModel(Mandatory)A text string obtained from BaseChart.getJsChartModel that represents the Javascript Chart Model of the chart.

Return Value

None