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="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
pdf: {
proxyURL: "/save",
forceProxy: true
},
series: [{
type: "line",
field: "value",
categoryField: "date",
data: [
{ value: 1, date: new Date(2012, 1, 1) },
{ value: 2, date: new Date(2012, 1, 2) }
]
}]
});
var chart = $("#stock-chart").getKendoStockChart();
chart.saveAsPDF();
</script>