pdf.fileName String
(default: "Export.pdf")
Specifies the file name of the exported PDF file.
Example - set the default PDF file name
<div id="stock-chart"></div>
<script>
$("#stock-chart").kendoStockChart({
pdf: {
fileName: "Products.pdf"
},
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>