简体   繁体   English

是否有一个客户端(javascript)图库,不需要服务器?

[英]is there a client side (javascript) graph library that doesn't require a server?

I need to generate many internal client-side (within the company only) graphs from streams of data, and since the data itself is "secret", I can't use a service like Google-Graphs for generating the graphs. 我需要从数据流生成许多内部客户端(在公司内部)图形,并且由于数据本身是“秘密的”,我不能使用像Google-Graphs这样的服务来生成图形。 So I was wondering if anyone has some recomendations for a javascript graph library that doesn't require a server. 所以我想知道是否有人对一个不需要服务器的javascript图库有一些推荐。

Thanks 谢谢

Have a look at flot a javascript plotting library. 看看flot一个javascript绘图库。

EDIT The official flot repo lives on github 编辑官方的flot repo 生活在github上

看看Raphaelgithub )。

如果您使用javascript库将其呈现给客户端,那么数据很可能是纯文本的...即便如此, jQuery Sparklines也可以在客户端生成简单的图形。

找到了一个名为PlotKit for Mochi的库,同时查看了Nickf的canvasgraphjs链接。

Check D3.js : JavaScript library for manipulating documents based on data. 检查D3.js :JavaScript库,用于根据数据操作文档。 I didn't try it myself yet, but it looks promising and interesting. 我自己还没试过,但它看起来很有前途和有趣。

If you use a client-side library, your data is pretty much out in the open. 如果您使用客户端库,那么您的数据几乎是公开的。 If the data is secret, I think what you need is a library that generates the plot on the server side and outputs images. 如果数据是秘密的,我认为你需要的是一个在服务器端生成绘图并输出图像的库。 JFreechart is one library that does this in Java. JFreechart是一个用Java完成此任务的库。 I am sure there are others. 我相信还有其他人。

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

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