makeImageData is not working for IE

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, http://stackoverflow.com/questions/18112047/canvas-todataurl-working-in-all-browsers-except-ie10
might 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?