简体   繁体   中英

how to create a simple pie chart using google api in sharepoint?

i have a document library with 2 columns (Project title and Status) How could i make use of the google api and dynamically create the chart?

Should i use string builder to append to the google url or use javascript instead? Which is the simplest way to create the pie chart? Would really appreciate some code sample to start it off.

Thank you!

I would suggest the way of appending string to the page.

Although it may not directly related to your project, you can take a look how the google chart work with asp.net MVC

You can take a look here for Google chart API

Google Chart Tools

also

Adding Graphs, Bar and Pie Charts to SharePoint

For integrating

Integrate Google Chart API Into SharePoint [though its for sharepoint 2007]

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM