We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. (Last updated on: November 16, 2018).
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

How to print and export multiple sfchart?

Thread ID:





121814 Jan 27,2016 10:10 PM UTC Mar 23,2016 10:31 AM UTC WPF 5
Tags: SfChart
Tomas Raziel Garza Amaya
Asked On January 27, 2016 10:10 PM UTC


I want to print and export the graphics, but I can save or print one sfchart only. How to save or print multiple of them at same time in one sheet?

Sumathi Jayaraj [Syncfusion]
Replied On January 28, 2016 08:41 AM UTC

Hi Tomas,

Thanks for contacting Syncfusion support.

We are able to achieve your requirements by using PrintDialog as shown in the below sample code. We have prepared a sample and it can be downloaded from the following location.

Code example[C#]:

public void Print(Panel visual)


    //To print the visual using chart print dialog box

    ChartPrintDialog printDialog = new ChartPrintDialog();

    PrintingEventArgs args = new PrintingEventArgs() { PrintDialog = printDialog, PrintVisual = printDialog.GetPrintVisual(visual) };

    if (args.ShowPrintDialog)


        bool retValue = (bool)printDialog.ShowPrintDialog(visual, Rect.Empty, visual.ActualHeight, visual.ActualWidth);



    else if (!args.CancelPrinting)


        PrintDialog pd = new PrintDialog();

        pd.PrintVisual(visual, "Chart is printing");



Sample : ExportChart

Alternatively, we can use multiplepanes to integrate all the charts into single one and we can use chart Print() functionality to export.

Sumathi J

Tomas Raziel Garza Amaya
Replied On January 28, 2016 04:15 PM UTC

Thank you for answer, the code ran, but I want to do the same with the save, how is the code?

Thanks for help.

Sumathi Jayaraj [Syncfusion]
Replied On January 29, 2016 10:18 AM UTC

Hi Tomas,

Thanks for the update.

We are able to achieve your requirements by using RenderTargetBitmap. We have prepared a sample and it can be downloaded from the following location.

Sample : SaveAndPrint

Sumathi J

David Fernandez Lopez
Replied On March 22, 2016 10:40 PM UTC


The proposed solution for printing multiple charts is not working if one of the chart's is a Pie or a Doughnut.


Sumathi Jayaraj [Syncfusion]
Replied On March 23, 2016 10:31 AM UTC

Hi David,

We are unable to reproduce the problem(exporting multiple charts with pie series) at our end. We have attached a sample and if the problem still persist, then please provide the sample to reproduce the issue.  

Sample: ExportChart

Sumathi J


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon