问题
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. So I was wondering if anyone has some recomendations for a javascript graph library that doesn't require a server.
Thanks
回答1:
Have a look at flot a javascript plotting library.
EDIT The official flot repo lives on github
回答2:
Have a look at Raphael (github).
回答3:
The data is likely going to be in plain text if you use a javascript library to render it client side... Even so, jQuery Sparklines can generate simple graphs client-side.
回答4:
Found a library called PlotKit for Mochi, while looking at Nickf's canvasgraphjs link.
回答5:
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. I am sure there are others.
回答6:
Check D3.js: JavaScript library for manipulating documents based on data. I didn't try it myself yet, but it looks promising and interesting.
来源:https://stackoverflow.com/questions/437686/is-there-a-client-side-javascript-graph-library-that-doesnt-require-a-server