TestTest Posted March 18, 2014 Report Share Posted March 18, 2014 Hello, I need to export chart to excel file. I try to click menu on toolbars "Copy to clipboard",but I need only chart (not include toolbars) like the red box below : How can I export,save to clipbord or any method to show chart in excel file? Thank you. Quote Link to comment Share on other sites More sharing options...
joseo Posted March 18, 2014 Report Share Posted March 18, 2014 Hello TestTest, I would like to let you know Chart FX provides a method called "Export" that enables you to save chart files, images and data in a variety of formats. In order to export the chart without the toolbar, please refer to the code below: [C#] Chart1.ToolBar.Visible = false ; Chart1.Export( FileFormat .Png, System.Windows.Forms.Application.StartupPath + "tempsample.png" ); Please note that using this method will automatically generate an image of the chart in the specified folder with the preferred name. After the chart image is created you can simply add it to the Excel spreadsheet. For further information on how to use this method please visit our support site at the link below: http://support.softwarefx.com/Chart_FX_7/api#web_htmls/chart_export.htm I hope this helps. Regards, 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.