Query |
Response |
Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. What would cause this?
If the images are not loaded or not loading at all, export works. If the images load, even partially, the export breaks. |
The image either should be hosted in an application or it should in same domain, so only the image will be exported. It is an behavior of JavaScript. Please refer to our help documentation.
Help documentation: https://ej2.syncfusion.com/aspnetmvc/documentation/diagram/shapes/?no-cache=1#image
We have created a sample in which we have rendered an layout sample. The image rendered in layout is hosted in the application.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/orgchartsamplemodified-2059214017
|
Query |
Response |
Failed to execute 'toDataURL' on 'HTMLCanvasElement': Tainted canvases may not be exported. What would cause this?
If the images are not loaded or not loading at all, export works. If the images load, even partially, the export breaks. |
The image either should be hosted in an application or it should in same domain, so only the image will be exported. It is an behavior of JavaScript. Please refer to our help documentation.
Help documentation: https://ej2.syncfusion.com/aspnetmvc/documentation/diagram/shapes/?no-cache=1#image
We have created a sample in which we have rendered an layout sample. The image rendered in layout is hosted in the application.
Sample: https://www.syncfusion.com/downloads/support/directtrac/general/ze/orgchartsample1modified1490125056
|