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.

chartseriescollection add method throws argumenttype exception

Thread ID:





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

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 01:51 AM

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.

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.