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

Add a chart in a worksheet different from the first one

Thread ID:

Created:

Updated:

Platform:

Replies:

141313 Dec 5,2018 03:25 PM UTC Dec 7,2018 10:49 AM UTC ASP.NET Core - EJ 2 3
loading
Tags: XlsIO
Mini Dev
Asked On December 5, 2018 03:25 PM UTC

Good morning,

I'm trying to add a chart in a worksheet different from the first one.
Code example:
var sheet = workbook.Worksheets [2];
IChartShape chart = sheet.Charts.Add ();
IChartSeries series = chart.Series.Add (chartType);

The graph, however, is added (after having saved the workbook) in the first sheet. How can I add it in a different sheet from the first one?

Prakash Kumar D [Syncfusion]
Replied On December 6, 2018 09:09 AM UTC

Hi Mini, 
 
Thank you for contacting Syncfusion support. 
 
We have tried to reproduce to the issue, but it works properly at our end. We have shared a sample for your reference which can be downloaded from the following link. 
 
 
Kindly modify the sample to reproduce the issue and share us along with issue reproducing input files. It will be helpful for us to analyze further on this and provide you the solution at earliest. 
 
Note: The documents shared will not be disclosed and is only for the purpose to reproduce the issue. We assure you that the document will be deleted from our side once the issue is resolved. 
 
Regards, 
Prakash Kumar 


Mini Dev
Replied On December 6, 2018 03:07 PM UTC

Thank My problem was that I had reversed the values with labels (x and y asses). So the excel generation was corrupted.
I solved

Prakash Kumar D [Syncfusion]
Replied On December 7, 2018 10:49 AM UTC

Hi Mini, 
  
Thank you for updating us. 
  
We are glad that your issue is resolved. Please get back to us if you need further assistance. 
  
Regards,
Prakash Kumar 


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.

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

;