pdf.date Date
The date when the PDF document is created. Defaults to new Date()
.
Example - set the date
<div id="chart"></div>
<script>
$("#chart").kendoChart({
pdf: {
date: new Date("2014/10/10")
},
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>