Description
Used to get chart object for various JavaScript operations that you want to perform, for example adding or removing a series or nodes in charts.
Returns
JavaScript object
Function syntax
ColdFusion.Chart.getChartHandle() |
History
ColdFusion 10: Added this function
Example
The following example shows how to add a new value to the first series of a chart with chart ID interactivebar:
ColdFusion.Chart.getChartHandle().exec('interactivebar', 'appendseriesvalues', '{"plotindex": 0, "values" : [40]}' ); |
Example
The following example shows how to add a new value to the register a click event on a chart:
ColdFusion.Chart.getChartHandle().click = function(dataObj){ |