0
votes

I have kendo scatter line chart using angular. I am trying to add export to pdf but getting error as exportpdf is not a function. Has anyone tried kendo chart exportpdf using angularjs? Here's the example

http://dojo.telerik.com/uMube/8

2

2 Answers

0
votes

Hope this help you: Instead of var chart = $scope.chartOptions; use var chart = $("#chart").getKendoChart();.

Here is the code

Greetings

0
votes

Put a name into declarative code:

<div kendo-chart="michar"...

and in your controller put:

var chart = $scope.michar