Hi everybody,
I am loading the 2D pie chart rendering using javascript.I am using the json for chart data like this:
var ChartData= {
"chart": {
"showlabels": "0",
"showvalues": "1",
"showlegend":"1",
"legendposition":"bottom",
"caption" : "Outcomes By Category" ,
"animation" : "1"
},
"data": [
{ "label" : "week1", "value" : "14" },
{ "label" : "week1", "value" : "196" },
{ "label" : "week1", "value" : "2" },
{ "label" : "week1", "value" : "157" }
]
}
var fchart= $("#myChart");
fchart.insertFusionCharts({
swfUrl: "angular/vendor/fusionCharts/Pie2D.swf",
dataSource: ChartData,
dataFormat: "json",
width: "300",
height:"300"
});
SO is it possible to call the javascript method when user click on pie chart section.Is there is any call back method in chart that get fired when user click one of the section of pie chart.
Any help will be really appreciated.
Thanks
Sabin