Hi, I want to create an image data of my org chart and for that using below code. Its working fine for chrome but not working IE browser.
imgData = myDiagram.makeImageData({ scale: parseFloat($(’.hdnZoomScale’).val()) });
Getting below error, SCRIPT5022: SecurityError File: go.js, Line: 880, Column: 255 SecurityError
Thanks, Ravindra Kumar
Are all of your images that are not on the same server CORS enabled?If so, internet explorer 10 - Canvas.toDataURL() working in all browsers except IE10 - Stack Overflowmight help.
Hi, I am not using external server for images, I am just getting the ImageData from rendered org chart. For the same using below code, I only want image data…
var imgData = myDiagram.makeImageData({ scale: parseFloat($(’.hdnZoomScale’).val()) });
Thanks,
So none of your Nodes and Links have any Pictures in them?