I am trying to invoke the saveImage using java script,
function saveChart(catId)
{
var chartId = "chart"+catId;
var ch = getChartFromId(chartId);
ch.saveAsImage();
}
This doesn't seem to be working when I use the "createChartHTML" present in the FusionChart.jsp page, but the saveimage in the right click context menu is working.
However if I use "createChart" method in the same file, it works, but I am scenario I need to use the html method, since they whole chart object comes in the AJAX response.
Could you please tell me what I can do to archive this.
Regards,
Rohit