ColdFusion.Chart.getChartHandle

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"]);
}

 Adobe

Get help faster and easier

New user?

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX 2024

Adobe MAX
The Creativity Conference

Oct 14–16 Miami Beach and online

Adobe MAX

The Creativity Conference

Oct 14–16 Miami Beach and online