I'm trying to add a button for the user to print a chart. I've tried the following javascript functions:
function printChart()
{
var chartToPrint = getChartFromId('Column3D');
chartToPrint.print();
}
I have added FusionChart.js to my application, the error I'm getting is chartToPrint.print() is not a function. Is there a file I'm missing? Am I doing something wrong?
We're controlling and generating the charts using a jsp page containing data in xml format.
Thank you.