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

chartseriescollection add method throws argumenttype exception

Thread ID:





115793 Feb 6,2014 02:01 PM UTC Feb 10,2014 06:51 AM UTC ASP.NET MVC (Classic) 1
Tags: Chart
Otsile Kesianye
Asked On February 6, 2014 02:01 PM UTC

Hi please help with this issue.

MVC5 C# app was working fine but now i get this error;
value should be ChartSeries i.e. System.ArgumentException: value should be ChartSeries at 
LayoutController.cs line 294. This is the code throwing the exeception - chartmodel.Series.Add(series);



Anandaraj T [Syncfusion]
Replied On February 10, 2014 06:51 AM UTC

Hi Otsile Kesianye,

Thanks for using Syncfusion products.

The "Argument Exception" attached in the screenshot will occur if "Syncfusion.Chart.Base" and "Syncfusion.Chart.Mvc" assemblies are incompatible. For an MVC5 application, we should use "Syncfusion.Chart.Mvc" assembly with version "11.4500.0.26" and "Syncfusion.Chart.Base" assembly with version "11.4500.0.26".

Please let us know if you have any concern.



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

or the page will be automatically redirected to 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