Edit this page

pdf.date Date

The date when the PDF document is created. Defaults to new Date().

Example - set the date

<div id="chart"></div>
<script>
  $("#stock-chart").kendoStockChart({
      pdf: {
          date: new Date("2014/10/10")
      },
      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>
Is this article helpful? Yes / No
Thank you for your feedback!

Give article feedback

Tell us how we can improve this article

close
Dummy