简体   繁体   English

如何在sharepoint中使用Google API创建简单的饼图?

[英]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? 我有一个包含2列(项目标题和状态)的文档库,我该如何利用google api并动态创建图表?

Should i use string builder to append to the google url or use javascript instead? 我应该使用字符串生成器追加到Google网址还是使用JavaScript? 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 尽管它可能与您的项目没有直接关系,但是您可以看一下Google图表如何与asp.net MVC一起使用

You can take a look here for Google chart API 您可以在这里查看Google Chart API

Google Chart Tools Google Chart工具

also

Adding Graphs, Bar and Pie Charts to SharePoint 将图,条形图和饼图添加到SharePoint

For integrating 用于整合

Integrate Google Chart API Into SharePoint [though its for sharepoint 2007] 将Google Chart API集成到SharePoint中 (尽管适用于sharepoint 2007)

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

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