Whatever message this page gives is out now! Go check it out!

ColdFusion.Chart.getChartHandle

Last update:
May 18, 2026

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){ 

alert("Chart Clicked - ID: " + data["id"]); 

}

Share this page

Was this page helpful?
We're glad. Tell us how this page helped.
We're sorry. Can you tell us what didn't work for you?
Thank you for your feedback. Your response will help improve this page.

On this page