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.
Syncfusion Feedback

creating chart using ChartModel at controller level

Thread ID:

Created:

Updated:

Platform:

Replies:

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

Hi Team,

I was going through ASP.NET MVC Classic tutorials

http://help.syncfusion.com/ug/asp.net%20mvc/index.html#!documents/chartmodel69.htm

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  

ASP.NET MVC 5 
Framework 4.5.1
Jquery
windows 8.1


thank you 
Regards,
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.


Screenshot:

We have made a sample for this. Please find the below sample link for downloading the sample.
Sample Link:
http://www.syncfusion.com/downloads/support/forum/120081/ze/ChartModel-1668448367
Kindly refer below online UG documentation link for more details of creating chart in Latest MVC.
http://help.syncfusion.com/ug/aspnetmvc/Documents/gettingstarted6.htm
Please let us know if you have any concern.
Thanks,
Vinothkumar Arumugam.


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.

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

;