Javascript 基于 Web 的向下钻取图表的开源库

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

Open source library for web-based drill down charts

javascriptjquerycharts

提问by vishnu

I have seen this Good javascript library for drawing charts using json, which lists charting libraries. I thought to go for FLOT but I didnot see that it is supporting drill down bars.

我见过这个使用 json 绘制图表的优秀 javascript 库,它列出了图表库。我想选择 FLOT,但我没有看到它支持向下钻取栏。

Can any one suggest me whether FLOT supports them or any other library I can use? I am mainly looking for drill down bars and pie charts with support of javascript and jquery and can pull the chart data for these graphs.

任何人都可以建议我 FLOT 是否支持它们或我可以使用的任何其他库?我主要是在寻找支持 javascript 和 jquery 的向下钻取条形图和饼图,并且可以为这些图形提取图表数据。

There is Highcharts and JFreeChart, will that work? JFreeChart does not support drill down, though.

有 Highcharts 和 JFreeChart,可以吗?但是,JFreeChart 不支持向下钻取。

回答by Jared Farrish

d3.js. See the gallery:

d3.js。查看画廊:

https://github.com/mbostock/d3/wiki/Gallery

https://github.com/mbostock/d3/wiki/Gallery

Drill down demos or examples:

深入演示或示例:

There are several tutorials. Here are two:

有几个教程。这里有两个:

And there are fiddle-like d3 editors:

还有类似小提琴的 d3 编辑器:

http://www.d3-generator.com/

http://www.d3-generator.com/

So to me, d3.js certainly seems like the best choice.

所以对我来说,d3.js 似乎是最好的选择。

回答by pkachhia

Go for http://kiersimmons.com/DDChart/index.html, it is a jquery plugin for drill down chart.

http://kiersimmons.com/DDChart/index.html,它是一个向下钻取图表的 jquery 插件。