---
title: "how to create google chart in asp.net mvc With  json"  
description: "how to create google chart in asp.net mvc With  json"  
author: "Sachin Singh"  
published: 2016-02-26  
updated: 2016-08-31  
canonical: https://www.mindstick.com/forum/34008/how-to-create-google-chart-in-asp-dot-net-mvc-with-json  
category: "google api"  
tags: ["asp.net", "jquery", "html", "json", "asp.net mvc", "chart", "entity framework", "google reporting service", "asp.net web api", "jsonarray"]  
reading_time: 1 minute  

---

# how to create google chart in asp.net mvc With  json

Hi all,\
I want to **using a google chart basis of [Budget](https://www.mindstick.com/articles/167458/5-business-innovations-on-a-budget) of [Courses](https://www.mindstick.com/articles/12720/searching-for-the-best-courses-in-mba-read-on)** in my **DEPARTMENT** [table](https://www.mindstick.com/articles/43918/how-to-design-table-using-bootstrap). Table [model](https://yourviews.mindstick.com/view/81334/america-is-reopening-after-corona-lockdown-but-on-swedish-model) is below:\
![how to create google chart in asp.net mvc With  json](https://www.mindstick.com/mindstickforums/423b243a-52ed-4577-8acd-f41e37ae44f4/images/ecd5ddbc-0549-4840-acb5-7cffc8afbdc9.png)\
\
and data is below of **DEPARTMENT** table:\
![how to create google chart in asp.net mvc With  json](https://www.mindstick.com/mindstickforums/423b243a-52ed-4577-8acd-f41e37ae44f4/images/32b56eb6-ea10-4610-8d59-1c9f34910d24.png)\
\
Please can [anyone give me](https://answers.mindstick.com/qa/41194/can-anyone-give-me-some-high-and-low-points-of-each-of-the-four-first-presidential-administrations) a solution above problem.Thank you. \

## Replies

### Reply by ??????? ?????????

Post is removed by the Admin.

### Reply by Anupam Mishra

Hi Sachin,If you wish to working with [Google Chart](https://developers.google.com/chart/interactive/docs/quick_start) 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](https://developers.google.com/chart/interactive/docs/gallery/piechart).\
Now, code for controller that are carry data to **DEPARTMENT** table are as below:\
![how to create google chart in asp.net mvc With  json](https://www.mindstick.com/mindstickforums/423b243a-52ed-4577-8acd-f41e37ae44f4/images/0584781d-5382-481e-9dc2-fe1b45305250.png)**View :****\**![how to create google chart in asp.net mvc With  json](https://www.mindstick.com/mindstickforums/423b243a-52ed-4577-8acd-f41e37ae44f4/images/07ca2a06-e7bf-4eae-87b5-1b6b94ba83fb.png)**\**\
Output:\
![how to create google chart in asp.net mvc With  json](https://www.mindstick.com/mindstickforums/423b243a-52ed-4577-8acd-f41e37ae44f4/images/54ff8369-32b0-4b4f-9aab-87306a926611.png)\


---

Original Source: https://www.mindstick.com/forum/34008/how-to-create-google-chart-in-asp-dot-net-mvc-with-json

Copyright © MindStick Software Pvt. Ltd. This Markdown version is provided for developers, AI systems, and offline reading.
