how to create google chart in asp.net mvc With json

Hi all,

I want to using a google chart basis of Budget of Courses in my DEPARTMENT table. Table model is below:

how to create google chart in asp.net mvc With  json

and data is  below of DEPARTMENT table:

how to create google chart in asp.net mvc With  json

Please can anyone give me a solution above problem.
Thank you. 

Last updated:8/31/2016 12:27:05 AM

2 Answers

Anupam Mishra
Anupam Mishra

Hi Sachin,

If you wish to working with Google Chart  then we using a googleapi for creating a chart. In above you are not mentioned which type chart you want to display. i guess you are happy with Pie Chart.

Now, code for controller that are carry data to DEPARTMENT table are as below:

View :



Output:


Answer