itemClickJsFunction: Sets the name of the JavaScript function
which is called when the item is clicked.
In this sample, the JavaScript function (chartItemClickHandler) creates a new chart
●Layout
<Pie2DChart showDataTips="true" itemClickJsFunction="chartClickHanlder">
●Script
function chartClickHanlder(seriesId, displayText, index, data, values)
{
alert(seriesId:"+seriesId+"\ndisplayText:"+displayText+"\nindex:"+index+
"\ndata:"+data['Month']+"\nvalues:"+values[0]);
Sets the layout and dataset to create the chart dynamically.
document.getElementById("chart2").setLayout(layoutStr2);
document.getElementById("chart2").setData(chartData2);
}