how to export kendo chart to JPG, PNG, BMP, GIF -
is there way export kendo chart jpg, png, bmp, gif.with format type selection using drop downlist.
function createchart() { $("#chart").kendochart({ theme: $(document).data("kendoskin") || "default", title: { text: "internet users" }, legend: { position: "bottom" }, chartarea: { //it's important background not transparent proper exporting //of file types - noticeably jpeg background: "white" }, seriesdefaults: { type: "bar" }, series: [{ name: "world", data: [15.7, 16.7, 20, 23.5, 26.6] }, { name: "united states", data: [67.96, 68.93, 75, 74, 78] }], valueaxis: { labels: { format: "{0}%" } }, categoryaxis: { categories: [2005, 2006, 2007, 2008, 2009] }, tooltip: { visible: true, format: "{0}%" } }); } $(document).ready(function () { settimeout(function () { // initialize chart delay make sure // initial animation visible createchart(); }, 400); });
this might help.
http://www.kendoui.com/code-library/dataviz/chart/kendo-ui-chart-export.aspx
found on kendo site itself
Comments
Post a Comment