寻找响应式 javascript 图表库

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/16379329/
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-27 04:24:54  来源:igfitidea点击:

looking for a responsive javascript charting library

javascriptjquerycharts

提问by user759235

There are a couple of good charting libs out there, but most of them are not responsive.

有几个很好的图表库,但大多数都没有响应。

I have tried morris.js but this isn't responsive.

我试过 morris.js 但这没有响应。

So I am looking for one who is responsive and free and looks good like morris.js(no highcharts, flot, google)

所以我正在寻找一个响应迅速、自由并且看起来像 morris.js(没有 highcharts、flot、google)的人

Anybody?

有人吗?

回答by martynasma

Try amCharts:

尝试 amCharts:

http://www.amcharts.com/javascript-charts/

http://www.amcharts.com/javascript-charts/

They respond to container changes dynamically so would be perfect for adaptive layouts.

它们动态响应容器更改,因此非常适合自适应布局。

回答by Arif Setyawan

you can use chartjs

你可以使用chartjs

https://github.com/nnnick/Chart.js

https://github.com/nnnick/Chart.js

and my extended solution to make it responsive

和我的扩展解决方案,使其响应

https://github.com/arifLogic/respChartJS

https://github.com/arifLogic/respChartJS



EDIT :

编辑 :

now we can use responsive chart like Chartist js. Yet, there is many more js library out there. https://gionkunz.github.io/chartist-js/

现在我们可以使用像 Chartist js 这样的响应式图表。然而,还有更多的 js 库。https://gionkunz.github.io/chartist-js/

回答by aaronman

You could use JS charts, this is all client side and is responsive
http://www.jscharts.com

您可以使用 JS 图表,这是所有客户端并且响应
http://www.jscharts.com