Bar chart examples



Following are some bar chart examples using google charts. Simply modify the and reuse for yourself.


"http://chart.apis.google.com/chart?" is the Chart API's location
"&" separates parameters
"cht=bvg" is for specifying bar chart
"chbh=a" is used for automatically resizing bars so that they fit within the chart size.
"chg=10,30,3,3,10,20" is for specifying grid lines "chd=t: data1,data2...." is for specifying data
"chdl=MALE|FEMALE" is for specifying legend
"chco=7D2252,52F3FF" is for specifying chart's colour
"chtt=%20Students%20Enrolled%20For%20Bachelors" is for specifying chart title
"chts=52F3FF,20" is for specifying font size and colour of chart title
"chs=650x400" is for specifying chart size
"chxt=x,y" is for specifying chart axis
"chxl=0:|CHEM|CMRC|I.T|D.S|ENG|LAW|MHS|NRSNG|PHRM|P.A|ST|SST|VET|BSC.PAS" is for specifying x axis label


"http://chart.apis.google.com/chart?" is the Chart API's location
"&" separates parameters
"cht=bvs" is for specifying bar chart.
"chd=t: data1,data2...." is for specifying data
"chco=153E7E,FDD017" is for specifying chart colour
"chtt=%20Students%20Enrolled%20For%20Ph.D" is for specifying chart title
"chts=153E7E,20" is for specifying chart title's colour and font size
"chs=650x400" is for specifying chart size in pixels
"chdl=MALE|FEMALE" is for specifying legend
"chxt=x,y" is for specifying chart axis
"chxl=0:|D.S|ENG|LAW|MH|NRSN|PHR|P.A|ST|SST|VET|B.PAS" is for specifying label of x axis