itemClickJsFunction: Sets the name of the JavaScript function
which is called when the item is clicked.
In this sample, the JavaScript function (chartItemClickHandler) opens a new window and
redirects to a new website
●Layout
<Column3DChart showDataTips="true" itemClickJsFunction="chartItemClickHandler">
●Script
Parameters:
seriesId: Series ID
displayText: The tooltips shown when the mouse over the item.
index: The index of the clicked item in the series.
data: The record of the dataset declared for creating the chart.
values: The value of the item. The value is an array and each element in the array is different depending on the chart type.
BarSeries 0: X-axis value, 1: Y-axis value
ColumnSeries 0: X-axis value, 1: Y-axis value
AreaSeries 0: X-axis value, 1: Y-axis value
BubbleSeries 0: X-axis value, 1: Y-axis value, 2: radius
LineSeries 0: X-axis value, 1: Y-axis value
PieSeries 0: value
function chartItemClickHandler(seriesId, displayText, index, data, values)
{
chUrl = "http://www.koolchart.com/index.php?code="+values[1];
alert(chUrl);
window.open(chUrl, '_blank');
}