exportOptions.image.cors String
(default: "anonymous")
Specifies how cross-origin images should be requested.
Requesting images without CORS will "taint" the canvas. It will still be visible on the page, but all script access to it is disabled to prevent information disclosure.
Can be set to:
- "anonymous" - do not send user credentials as part of the request
- "use-credentials" - send credentials as part of the request
- false - fetch images without CORS, possibly tainting the canvas
Example
<div id="chartwizard"></div>
<script>
$("#chartwizard").kendoChartWizard({
dataSource: [
[
{ field: 'Product Name', value: 'Calzone' },
{ field: 'Quantity', value: 1 },
{ field: 'Price', value: 12.39 },
{ field: 'Tax', value: 2.48 },
{ field: 'Total', value: 14.87 }
],
],
exportOptions: {
image: {
cors: "use-credentials",
}
}
});
</script>