Primefaces charts crashing chrome when exporting as image
问题 We are trying to export charts generated by primefaces(jqplot) through exportAsImage function: function exportChart() { try { imgPie = PF('graphicPie').exportAsImage(); // this is an instance of p:pieChart document.getElementById('frmReports:b64_gr0').value = imgPie.src; }catch(err){ } try { imgBar = PF('graphicBarEvent').exportAsImage(); // this is an instance of p:barChart, here is where the script crashes document.getElementById('frmReports:b64_gr1').value = imgBar.src; }catch(err){ } }