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. Image for the cookie policy date

WPF Chart Print doesn't work

Hi,

I am trying to print a WPF chart from the right click. But when I click the Print button of the window that opens, nothing happens, although I have checked that my printer is connected.
Is there any solution in this problem? 

Thank you in advance,


Theodosia Konstantinidou

1 Reply

KV Karthikeyan V Syncfusion Team January 30, 2014 12:20 PM UTC

Hi Theodosia,

Thanks for using the Syncfusion products.

We have analysed the reported issue with our dashboard sample; we are unable to reproduce the issue. Can you please check with the sample in the following location? If still you face the problem, please revert us by modifying the sample based on your application along with replication procedure. This would be helpful for us to serve you.

Dash board Sample:

InstallationLocation\Syncfusion\EssentialStudio\$Version$\WPF\Chart.WPF\Samples\Export and Print\Printing Chart Demo

You can achieve your requirement of right click to print the chart by help of below code snippet.

Code snippet [C#]: (Right Click to Print the Chart)

private void Chart1_MouseRightButtonDown(object sender, MouseButtonEventArgs e)

        {

            Chart chart = sender as Chart;

            chart.Print();

        }

Please let us know if you require further assistance on this.

Thanks,

Karthikeyan V.


Loader.
Live Chat Icon For mobile
Up arrow icon