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.
VAVinothkumar Arumugam Syncfusion Team 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.