Streamlining Python Development: A Guide to a Modern Project Setup
Graph In MVC
1. To show the different
types of graph in MVC
application
By
Ajay Kumar
2. Introduction
A graph is an image that represents data
symbolically.
A graph is used to present complex
information and numerical data in a simple,
compact format.
3. Why we need to show the data in graph
Graph is a attractive way to show the data. there are
many types of graph. it depends on data in which way
we want to show the data in graph.
whenever we see the news we see the sensex graph,
in cricket batting or bowling graph, or company growth
graph, salary growth.....it is simple representation of
growth of the company, growth of the salary.
Nobody want to read the complex data. they want to
see the data in easy way like graph/Image which they
can understand easily. we can show the growth in
graph by year/month/days.
4. Different types of graph
•
Pie chart
•
Bar chart
•
Line chart
•
Column chart
•
Geo chart
•
Area chart
5. How to make graph using google chart
I am using two ways to implement chart in MVC.
.
JavaScript - use google chart function.
6. •
google chart Url - send a data and return
image
https://chart.googleapis.com/chart?chs=250x250&cht=pc&chco=463AA6|
BBCCED&chd=t:5,3,7,2&chdl=Rice(5)|Dal Roti(3)|Milk(7)|
Paneer(2)&chdlp=t&chts=090000,12&chtt&chco=FF9900|000000|B5B5B5|
004800|DF0000|0000D4|00FF00|76A4FB|FFFF88|990066