pdf.landscape Boolean
(default: false)
Set to true
to reverse the paper dimensions if needed such that width is the larger edge.
Example - enable landscape mode
<div id="chart"></div>
<script>
$("#stock-chart").kendoStockChart({
pdf: {
paperSize: "A4",
landscape: 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>