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.

Setting ChartType to Cylinder_Clustered exception

Thread ID:





88574 Jul 30,2009 06:23 AM Jul 30,2009 07:27 AM ASP.NET Web Forms (Classic) 1
Tags: XlsIO
Julian Bercovici
Asked On July 30, 2009 06:23 AM


when i try to set the ChartType to Cylinder_Clustered i get the following exception:

"Specified argument was out of the range of valid values.
Parameter name: iOrder"

Could some one tell me what I'm doing wrong ?

I've added a screen shot.



Vijesh Narayanan [Syncfusion]
Replied On July 30, 2009 07:27 AM

Hi Iulian,

Thank you for using Essential XlsIO.

The exception that you are mentioning is thrown if you include DataRange after specifying the chart type. The cylindrical_clustered chart type can be included into your application as specified in the following code snippet.

IChartShape chart = sheet.Charts.Add();
chart.DataRange = sheet.Range["B4:D10"];
chart.ChartType = ExcelChartType.Cylinder_Clustered;

Please let me know if I could be of any further assistance.



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.