Spire.XLS for .NET is a professional Excel .NET library that can be used to any type of .NET( C#, VB.NET, ASP.NET, .NET Core) application, both ASP.NET web sites and Windows Forms application.

Tue Nov 16, 2010 10:35 am

Hello.

How can i copy a chart from one sheet to another?

Regards

dfense
 
Posts: 12
Joined: Tue Jan 20, 2009 2:35 pm
Location: Frankfurt, Germany

Tue Nov 16, 2010 2:54 pm

Hello,

Thank you for your inquiry.
Please check post attachment for your reference.
Please let me know if you have any questions and concerns.

Best Regards
Attachments
CopyChartSheet.zip
(14.34 KiB) Downloaded 370 times
Jason Tan
Technical Support / Developer,
e-iceblue Support Team
User avatar

Jason.Tan
 
Posts: 30
Joined: Tue May 25, 2010 7:17 am

Wed Nov 17, 2010 8:40 am

Hello.

I'm sorry, but this not want i wanted to do. I just want to copy a single chart from sheet1 to sheet2.

Regards

dfense
 
Posts: 12
Joined: Tue Jan 20, 2009 2:35 pm
Location: Frankfurt, Germany

Thu Nov 18, 2010 3:44 am

Hello,

Sorry for confused to you.
For copying a single chart from sheet1 to sheet2, please check attachment for new demostration.
Please let me know if you have any questions and concerns.

Best Regards
Attachments
CloneChart.zip
(21.29 KiB) Downloaded 363 times
Jason Tan
Technical Support / Developer,
e-iceblue Support Team
User avatar

Jason.Tan
 
Posts: 30
Joined: Tue May 25, 2010 7:17 am

Thu Nov 18, 2010 9:37 am

Hello Jason.

The code looks good, but i cant use it. I didnt have the option to pass a chart as a parameter to the charts.Add function. The only possible parameter for this function is the excel version.

I think the reason is that i use an old version of the spire.xls library. As per file version info, i use the 3.0.0.0 version.

Regards,
Steve

dfense
 
Posts: 12
Joined: Tue Jan 20, 2009 2:35 pm
Location: Frankfurt, Germany

Return to Spire.XLS