This is a migrated thread and some comments may be shown as answers.

problem in exporting render kendo chart to pdf

0 Answers 206 Views
Charts
This is a migrated thread and some comments may be shown as answers.
Manjunath
Top achievements
Rank 1
Manjunath asked on 07 Jun 2012, 05:05 PM
exported chart in pdf not showing it pick value , insted it showing pick small rectangle block with small dot inside scale region.please give any how to convert it as image and then to pdf using itextsharp.
i am using this coding

 

function createChart() {

 

$(

"#chart").kendoChart({

 

theme: $(document).data(

"kendoSkin") || "default",

 

title: {

text:

"Internet Users"

 

},

legend: {

position:

"bottom"

 

},

chartArea: {

 

//It's important that your background NOT be transparent for proper exporting

 

 

//of some file types - most noticeably Jpeg

 

background:

"white"

 

},

seriesDefaults: {

type:

"line"

 

},

series: [{

label:{

visible:

true

 

},

name:

"World",

 

data: [15.7, 16.7, 20, 23.5, 26.6]

}, {

label:{

visible:

true

 

},

name:

"United States",

 

data: [67.96, 68.93, 75, 74, 78]

}],

valueAxis: {visible:

true,

 

labels: {

format:

"{0}%"

 

}

},

categoryAxis: {

categories: [2005, 2006, 2007, 2008, 2009]

},

tooltip: {

visible:

true,

 

format:

"{0}%"

 

}

});

 

//Lets load the svg into a hidden field for server side availability

 

 

var chart = $("#chart").data("kendoChart");

 

$(

'#hfSVG').val(chart.svg());

 

}

please help in this which is not rendering the

data: [67.96, 68.93, 75, 74, 78] at pdf

No answers yet. Maybe you can help?

Tags
Charts
Asked by
Manjunath
Top achievements
Rank 1
Share this question
or