You basically just call the Google Chart URL within your src property with the appropriate parameters and Google Chart will draw up the graph and show it to you as a png image type.
< img src="http://chart.apis.google.com/chart?cht=p3&chd=s:hW%3Cbr%3E&chs=250x100&chl=Hello%7CWorld" />
It will create the Pie chart.
By Using Google Charts API you can generate Line chart,Venn diagram,Bar chart etc...
You can find the complete documentaion from google here
No comments:
Post a Comment