Hi,
I have different graph and I would like to use only one button to save them all.
After all the graph create I put the function
$(document).ready(function () { $("#pngButton").click(function () { $('#jqxChart1').jqxChart('saveAsPNG', 'myChart1.png'); $('#jqxChart2').jqxChart('saveAsPNG', 'myChart2.png'); $('#jqxChart3').jqxChart('saveAsPNG', 'myChart3.png'); $('#jqxChart4').jqxChart('saveAsPNG', 'myChart4.png'); });});
and the button
<input id="pngButton" type="button" value="Save As PNG" />
but it only save the first graph. How can I do to save them all in one time?
Thanks