problem in exporting render kendo chart to pdf

1 posts, 0 answers
  1. Manjunath
    Manjunath avatar
    3 posts
    Member since:
    May 2012

    Posted 07 Jun 2012 Link to this post

    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

Back to Top