JavaScript 中的图表
我试图在基于 PHP 的 Web 应用程序中以图表形式呈现两种类型的数据:
- 蛋糕图:显示当前用户的不同类型的数据,即用户收到的事件和更改
- 2D 条形图:显示基本相同的数据,但针对多个用户(即用户 a、用户 b 和用户 c 的事件;a、b、c 的更改;..)
我的第一个想法是使用 JavaScript图书馆。 尽管这两种图表类型都是恕我直言的“标准”,但正如我在仔细查看谷歌结果后注意到的那样,只有少数库支持这两种类型。
我最终得到了 jQuery Visualize 插件。 不幸的是我无法让它按照我想要的方式工作。
因此我想问您对此要求有何建议。
非常感谢!
I'm trying to present two types of data as diagrams in my PHP based web application:
- cake diagram: showing different types of data for the current user, i.e. incidents and changes received by the user
- 2D bar diagram: showing basically the same data, but for several users (i.e. incidents for user a, user b and user c; changes for a, b, c; ..)
My first idea was to use a JavaScript library. Although both diagram types are IMHO "standard", only few libraries out there support both types as I noticed after carefully going through Google's results.
I ended up with jQuery Visualize Plugin. Unfortunately I can't get it to work in the way I'd like it.
Hence I wanted to ask what your recommendations are for this requirement.
Many, many thanks!
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(6)
http://raphaeljs.com/
可能会有所帮助。
http://raphaeljs.com/
might be helpful.
您是否尝试过 Google Chart API?
Have you tried Google Chart API?
另请参阅:processing.js。
Also have a look at: processing.js.
看起来像 即将推出的 ExtJS4,他们已从 Flash 转向基于 JS 的图表,可能使用 RaphaelJS前面提到的框架。 此处还有概述。
Looks like for the upcoming ExtJS4, they have moved from Flash to JS-based charting, possibly using the RaphaelJS framework mentioned earlier. There is also an overview here.
JavaScript - http://www.jscharts.com/
Java Servlet - http://www.jfree.org/eastwood/
JavaScript - http://www.jscharts.com/
Java Servlet - http://www.jfree.org/eastwood/
http://mbostock.github.com/protovis/
我找到了解决方案! 它是免费的 BSB 许可证。
http://mbostock.github.com/protovis/
I found the solution! It is free BSB License.