谷歌图表和 Java

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/5102453/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-10-30 09:26:56  来源:igfitidea点击:

google charts and Java

javagoogle-visualization

提问by user381878

I am very keen to use google charting (visualization api) in my project in which I am making a network monitoring tool. I want to make a client app which will connect server at a port and get statistics about the application. I want to display the statistics using charts.

我非常热衷于在我制作网络监控工具的项目中使用谷歌图表(可视化 API)。我想制作一个客户端应用程序,它将在一个端口连接服务器并获取有关应用程序的统计信息。我想使用图表显示统计数据。

I tried to read good docs, but its quite confusing, I tried some other websites but no solution. Can anyone provide any good source to learn how to use google charts to display live running data?

我试图阅读好的文档,但它很混乱,我尝试了其他一些网站但没有解决方案。谁能提供任何好的资源来学习如何使用谷歌图表来显示实时运行数据?

回答by Ken Chan

Hey , I think charts4j will help you . http://code.google.com/p/charts4j/.

嘿,我认为 charts4j 会帮助你。http://code.google.com/p/charts4j/

charts4j allows you to programmatically generate charts from within your Java code via a simple, intuitive, and lightweight Java API. Moreover, it hides the ugly details of creating the URL parameters that are necessary for communicating with the Google Chart API.

charts4j 允许您通过简单、直观和轻量级的 Java API 从 Java 代码中以编程方式生成图表。此外,它隐藏了创建与 Google Chart API 通信所必需的 URL 参数的丑陋细节。