pdf.forceProxy Boolean
(default: false)
If set to true, the content will be forwarded to proxyURL even if the browser supports saving files locally.
Example - use proxy
<div id="chart"></div>
<script>
$("#chart").kendoChart({
pdf: {
proxyURL: "https://demos.telerik.com/kendo-ui/service/export",
forceProxy: true
},
legend: {
position: "bottom"
},
series: [
{ name: "Series 1", data: [1, 2, 3] },
{ name: "Series 2", data: [3, 4, 5] }
]
});
//var chart = $("#chart").getKendoChart();
//chart.saveAsPDF(); Calling the method will result in an "403 Access Denied" error because the proxyURL cannot be accessed from the Dojo coderunner;
</script>