Home forums Using CanvasJS Save as JPG,PNG error in Chrome Reply To: Save as JPG,PNG error in Chrome

#11727

Ulee
Member

Hi Vishwas and thx for quick reply,
it works like a charm in jsfidle example .. so I am not able to reproduce the issue in the jsfiddle.
Working example: http://jsfiddle.net/Ulee/ysv8409b/1/

more error details:
canvasjs.min.js:13 Uncaught TypeError: window.URL.createObjectURL is not a function canvasjs.min.js:13
za @ canvasjs.min.js:13
(anonymous function) @ canvasjs.min.js:74

f.href=window.URL.createObjectURL(b)}}if(!e)try{event=document.createEvent(“MouseEvents”),event.initMouseEvent(“click”,!0,!1,window,0,0,0,0,0,!1,!1,!1,!1,0,null),f.dispatchEvent?f.dispatchEvent(event):f.fireEvent&&f.fireEvent(“onclick”)}catch(l){b=window.open(),b.document.write(“</img><div>Please right click on the image and save it to your device</div>”),b.document.close()}}}function Q(a,b,c){b.getAttribute(“state”)!==c&&(b.setAttribute(“state”,c),b.setAttribute(“type”,

Any idea where to start looking when it is working fine in IE but not Chrome?

  • This reply was modified 3 months, 4 weeks ago by  Ulee.