Javascript 用于构建仪表板的开源库/框架(条形、线形、饼形等)
声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow
原文地址: http://stackoverflow.com/questions/13839920/
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
Open source library/framework for building dashboard (bar,line,pie,etc)
提问by Sohan
I am looking for an open source library/framework using which i can develop my dashboard showing different graphs.
我正在寻找一个开源库/框架,使用它我可以开发显示不同图形的仪表板。
I searched for few like eg: Highcahrts but these are licensed.
我搜索了一些,例如:Highcahrts,但这些是许可的。
The UI framework must handle the real time data (like Ajax calls or REST).
UI 框架必须处理实时数据(如 Ajax 调用或 REST)。
Any helpful suggestion appreciated.
任何有用的建议表示赞赏。
采纳答案by Rory
http://www.flotcharts.org/provides a popular open source javascript charts library.
http://www.flotcharts.org/提供了一个流行的开源 javascript 图表库。
回答by Dve
D3 (Data-Driven Documents)is excellent if you have a bit of time to learn it.
如果您有一些时间来学习D3(数据驱动文档),它是非常好的。
Some examples:
一些例子:
回答by lukmdo
After you pick your graphing solution (plots, charts, ...) some drag-and-droop grid to put it all together on one dashboard:
在您选择图形解决方案(绘图、图表等)后,将一些拖放式网格放在一个仪表板上:
- gridster.js(MIT licensed) may come in handy
- Packerynon-profit GPL v3 licensed or one-time purchase for a commercial license
- gridster.js(MIT 许可)可能会派上用场
- Packery非盈利 GPL v3 许可或一次性购买商业许可
回答by levtatarov
回答by sv_in
There are many charts plugins out there. http://www.queness.com/post/10781/13-chart-and-graph-plotting-javascript-plugins
有很多图表插件。http://www.queness.com/post/10781/13-chart-and-graph-plotting-javascript-plugins
My recommendations:
我的建议:
JQPlot: jQuery plugin. Uses canvas element or VML
gRaphael: uses raphaeljs JS library. SVG W3C Recommendation and VML as a base for creating graphics. - Lots of options.
JQPlot: jQuery 插件。使用 canvas 元素或 VML
gRaphael:使用 raphaeljs JS 库。SVG W3C Recommendation 和 VML 作为创建图形的基础。- 很多选择。
回答by Achintha Samindika
If you only need an charts api try https://developers.google.com/chart/
如果您只需要图表 api,请尝试https://developers.google.com/chart/
Its also support real-time updates
它也支持实时更新

