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.
Unfortunately, activation email could not send to your email. Please try again.

Convert a ChartControl to an Excel chart

Thread ID:

Created:

Updated:

Platform:

Replies:

51013 Oct 26,2006 04:54 AM Nov 3,2006 08:42 AM Windows Forms 7
loading
Tags: XlsIO
Baffelli
Asked On October 26, 2006 04:54 AM

I want put my ChartControl in a GridControl and also want to export the grid to Excel converting the Syncfusion ChartControl to an Excel Chart control. Is it possible?

Best regards, Baffelli.

Melba Winshia [Syncfusion]
Replied On October 26, 2006 10:31 AM

Hi Baffelli,

Currently we do not provide support for converting the Syncfusion ChartControl to an Excel Chart control. However, you can export Essential Chart to an Excel spreadsheet as an image. Could you please refer this KB article to export Essential Chart to an Excel Spreadsheet?

http://www.syncfusion.com/support/kb/chart/Default.aspx?ToDo=view&questId=9

Could you please refer this KB article to export the contents of Essential Grid to Excel?

http://www.syncfusion.com/support/kb/xlsio/Default.aspx?ToDo=view&questId=5

Please take a look and let me know if you have any other questions.

Thanks,
Melba

Baffelli
Replied On October 26, 2006 11:36 AM

Thank you for the reply, was very useful.
I have only one question: can I put a ChartControl into a GridControl's cell? How can I do this?

Regards, Baffelli.

Melba Winshia [Syncfusion]
Replied On October 27, 2006 10:03 AM

Hi Bafelli,

Yes, you can export chart to a grid control. Here is the sample for your reference:

ChartExport.zip


Please take a look at the sample above and let me know if you have any other questions.

Thanks,
Melba

Baffelli
Replied On October 27, 2006 10:55 AM

Your example explains how to export a GridControl to Excel. I want to put a ChartControl in a cell of a GridControl. Is it possible?

Regards, Baffelli.

Administrator [Syncfusion]
Replied On October 30, 2006 02:26 PM

Hi Baffelli,

To have a chart control in a grid cell, you need to use the Control cell type.

//
this.gridControl1[2, 2].CellType = "Control";

this.gridControl1[2, 2].Control = mychartControl;

this.gridControl1.Controls.Add(mychartControl);
//

Please refer this forum thread,
http://www.syncfusion.com/support/Forums/message.aspx?MessageID=28478

Regards,
Rajagopal

Baffelli
Replied On November 2, 2006 05:10 AM

Thanks a lot for your support, was veey useful!

Regards, Baffelli

Administrator [Syncfusion]
Replied On November 3, 2006 08:42 AM

Hi Baffelli,

Thanks for the update!

Best Regards,
Melba

CONFIRMATION

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.

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.

;