Exporting Multiple RadHtmlCharts to single PDF

5 posts, 0 answers
  1. Jeff
    Jeff avatar
    10 posts
    Member since:
    Jan 2015

    Posted 12 Jan Link to this post

    Hiya! 

     I'm nearing completion of an advanced configurable dashboard using RadHtmlCharts and various other controls. (See attached image for an idea.) These are all created problematically, based on what a user has assigned to them when they log into the system, so different users may have different charts on their dashboard page. Usually about 6 tiles. 

     I've gotten single chart PDF exporting working, that I believe came out in the  Q1 2015 release but now I would like to try something a bit bigger. What I would like to do now is to export all of the charts displayed on the page to a single PDF. Similar to the functionality presented in the Kendo UI chart export example (http://demos.telerik.com/kendo-ui/pdf-export/index).

    Is this at all possible? If so...whats the best way to go around doing it?

  2. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1493 posts

    Posted 13 Jan Link to this post

    Hello Jeff,

    ClientExportManager and HtmlChart are actually server-side wrapper of the corresponding Kendo UI widgets. To export multiple charts you can use similar approach as the Kendo UI's example - just pass the charts' wrapper element to the export manager.

    Regards,
    Danail Vasilev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Jeff
    Jeff avatar
    10 posts
    Member since:
    Jan 2015

    Posted 13 Jan in reply to Danail Vasilev Link to this post

    Does the wrapper element have to only contain the charts? As you can see in the attached screenshot I have a bunch of other elements in each "tile" with the chart...but I'll go ahead and give the Kendo UI approach a shot, and let you know what I come up with.
  5. Jeff
    Jeff avatar
    10 posts
    Member since:
    Jan 2015

    Posted 13 Jan Link to this post

    That actually worked, great. Thanks!

     A quick aside, one of my HTML elements (a custom chart, which displays a few images as the chart bars) did not export in IE, works fine in Firefox. Any ideas?

  6. Danail Vasilev
    Admin
    Danail Vasilev avatar
    1493 posts

    Posted 15 Jan Link to this post

    Hi Jeff,

    I would suggest that you open a support ticket where you can provide an isolated version of the project which showcases the issue.

    Regards,
    Danail Vasilev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017