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: "/save",
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();
</script>