twitter-bootstrap Bootstrap 响应式图表和图形

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

Bootstrap Responsive charts and Graphs

twitter-bootstrapgoogle-visualization

提问by coolcoder

I am using Twitter's bootstrap for one of my application and want to show graphs and charts. I tried using Google charts and I have placed in the div container. However these charts aren't responsive. I want to know is there any other frameworks for displaying charts which are responsive and works with bootstrap.

我正在为我的应用程序之一使用 Twitter 的引导程序,并希望显示图形和图表。我尝试使用 Google 图表并将其放入 div 容器中。但是,这些图表没有响应。我想知道是否有任何其他框架可以显示具有响应性并与引导程序一起使用的图表。

Even is it possible to display responsive charts as of now?

现在甚至可以显示响应式图表吗?

采纳答案by Piotr Stapp

Options which I tried:

我尝试过的选项:

  1. jqPlotthey are clickable, but probaly you will need to apply custom CSS (example here)
  2. Highchartsproduces pie charts and line charts without using Flash. but you cannot "click" them on mobile device
  1. jqPlot它们是可点击的,但可能您需要应用自定义 CSS(示例在这里
  2. Highcharts无需使用 Flash 即可生成饼图和折线图。但你不能在移动设备上“点击”它们