HOW TO CREATE GOOGLE CHART IN ASP.NET MVC WITH JSON

Sachin Singh

Total Post:26

Points:182
Ratings:
Rate this:
Hi all,

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



and data is  below of DEPARTMENT table:



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

  1. Anupam Mishra

    Post:135

    Points:949
    Re: how to create google chart in asp.net mvc With json

    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

NEWSLETTER

Enter your email address here always to be updated. We promise not to spam!