Total Pageviews

Monday, May 23, 2011

Google Chart API Customization

1) To modify a horizontal chart to vertical one.
just change the method barchart to columnchart

2) To specify colors to the bar graph,
pass array of color codes to the graph.

3) You can give legend to the chart by specifying the position to the legend
top,bottom,right.

4) To make a vertical chart to stacked one specify isStacked:true.

No comments:

Post a Comment