Hi there
We are using Kendo Charts in our application. We can successfully export the charts using the following jQuery.
Is there a way to export the data to a Excel file?
Thank you.
We are using Kendo Charts in our application. We can successfully export the charts using the following jQuery.
$(
"#exportASPBarChart"
).click(
function
() {
var
chart = $(
"#ASPBarChart"
).data(
"kendoChart"
);
var
image = chart.imageDataURL();
var
a = $(
"<a>"
).attr(
"href"
, image).attr(
"download"
,
"ASPBarChart.png"
).appendTo(
"body"
);
a[0].click();
});
Thank you.