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


Thread ID:





80715 Apr 23,2009 03:10 PM UTC May 20,2009 03:37 PM UTC WinForms 6
Tags: Chart
Mia Lee
Asked On April 23, 2009 03:10 PM UTC

I have labels that I have inserted on the chart. When I use the tool bar to print out the chart, the labels do not display.

How can I print the chart with labels or pictures that I have added on top of the chart?

p.s. Thanks for all your help!

Manimala S [Syncfusion]
Replied On April 24, 2009 10:04 AM UTC

Hi Lee,

Thanks for your continuous support.

To make the label or any other control to be visible in the print or preview you have to include the below line of code in your form_load() event.


Kindly, let me know if it helps.


Mia Lee
Replied On April 28, 2009 10:09 PM UTC


Quick question.. how can I print the chart w/o the toolbar being printed with it?

Manimala S [Syncfusion]
Replied On April 29, 2009 11:28 AM UTC

Hi Lee,

It is possible to print the chart without using the toolbar.

Here is the sample code to do that.

Size chartSize = new Size((int)Math.Ceiling(this.ChartWebControl1.Width.Value),
Bitmap bmp = new Bitmap(chartSize.Width, chartSize.Height);
ResourceHolder printHohlder = new ResourceHolder(this.Page);
ImageResourceInfo iri = new ImageResourceInfo(bmp, ImageFormat.Png, this.ChartWebControl1.Parent.ID);


ChartUtils.PrintImageOnClient(this.Page, printHohlder.GetResourceUrl(iri));

For more information on this kindly, have a look at the following link.



Mia Lee
Replied On May 5, 2009 06:17 PM UTC


Administrator [Syncfusion]
Replied On May 20, 2009 03:33 PM UTC

Does this same example apply wo Winforms? I can't find a ResourceHolder or ImageResourceInfo for Syncfusion.Windows.Forms.Chart.


Mia Lee
Replied On May 20, 2009 03:37 PM UTC

Thanks, figured it out.


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