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

creating chart using ChartModel at controller level

Thread ID:





120081 Aug 28,2015 10:37 AM UTC Aug 31,2015 10:19 AM UTC ASP.NET MVC 1
Tags: Chart
Ameya Deshpande
Asked On August 28, 2015 10:37 AM UTC

Hi Team,

I was going through ASP.NET MVC Classic tutorials


where User can be able to create a chart with the help of chart model at controller level

Now When I want it to create at my project it is not allowing me  to do so. MVCChartModel is not present. can you please suggest something to go ahead with this. I want to generate chart at controller level so I will have better control on my code.
I tried with adding some namespaces and libraries. but not getting it worked.

I am using  

Framework 4.5.1
windows 8.1

thank you 
Ameya Deshpande

Vinothkumar Arumugam [Syncfusion]
Replied On August 31, 2015 10:19 AM UTC

Hi Ameya,
We have analyzed your query and found that you are referring MVC classic controls UG document. This is not using for latest MVC controls. If you want to create chart model in Latest MVC  please find the following procedure.
Code Example:

·         Referring below namespace for ChartModel Creation

·         Creating chart instance and series as below.

·         Add DataSource for series as below

·         Add series model to ChartModel as below

·         In View page you can access MVCChart model as below.


We have made a sample for this. Please find the below sample link for downloading the sample.
Sample Link:
Kindly refer below online UG documentation link for more details of creating chart in Latest MVC.
Please let us know if you have any concern.
Vinothkumar Arumugam.


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