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.

How to add multiples ranges to XlsIO

Thread ID:

Created:

Updated:

Platform:

Replies:

124893 Jul 6,2016 06:04 PM Jul 11,2016 05:16 AM ASP.NET Web Forms 5
loading
Tags: XlsIO
Roimer Machacón Otero
Asked On July 6, 2016 06:04 PM

Hi we're using XlsIo and we need use multiple ranges.

We're trying with this:

IRanges rangos = hoja.CreateRangesCollection();                
                rangos.Add(hoja.Range[7, 2, 7 + tabla.Rows.Count - 1, 3]);
                rangos.Add(hoja.Range[7, 5, 7 + tabla.Rows.Count - 1, 5]);
                rangos.Add(hoja.Range[7, 7, 7 + tabla.Rows.Count - 1, 7]);
                //Set DataRange
                grafico.DataRange = rangos;

But this not work

Kesavan D [Syncfusion]
Replied On July 7, 2016 05:24 AM

Hi Roimer, 

Thank you for contacting Syncfusion support. 

Currently discontinuous range is not supported in “IChart.DataRange” but this can be achieved by creating separate chart series and assign values to it. 

We have created a sample to demonstrate the above said workaround, which is available for download in the below link. 


Kindly verify the sample and let us know if it fulfils your requirement.  

Regards, 
Kesavan 


Roimer Machacón Otero
Replied On July 7, 2016 12:53 PM

HI, the example not work as we need.

We need make a graphic how the example attached to this post.

This is possible?

Attachment: Desktop_ac746706.zip

Sridhar Sukumar [Syncfusion]
Replied On July 8, 2016 06:42 AM

Hi Romier, 
 
The sample has filtered series. It is possible to create a chart with filtered series as you mentioned using XlsIO. 
 
We have prepared a sample as per your requirement which can be downloaded from following link 
 
 
Please let us know if you have any queries. 
 
Regards, 
Sridhar S. 


Roimer Machacón Otero
Replied On July 8, 2016 11:25 AM

Hi Sridhar Sukumar

Thanks! This work correctly :)

Sridhar Sukumar [Syncfusion]
Replied On July 11, 2016 05:16 AM

Hi Romier, 
 
Thank you for updating us. 
   
We are glad to know that the issue has been resolved at your side. Please let us know if you need any further assistance on this.  
   
Regards,  
Sridhar S 
 


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.

;