I'm not really sure on how to do this. I can get it to print by doing the code below however it comes out in black and white and there are 2 of them when I recreate the chart multiple times, but never more than two
var PrintString = "";
var c = $('.classcontainingChart').find('.jchartfx');
$(c).each(function (i, chart) {
PrintString += $(chart).html();
});
var PrintWindow = window.open('');
PrintWindow.document.write(PrintString);
PrintWindow.print();
PrintWindow.close();
I'm not sure on what you want here but I tried modifying your code snippet:
And when I loaded it, I am able to see all my charts ready for print:
Also need to make sure that popups are enabled to do this.