简体   繁体   English

如何使d3js甜甜圈图支持ie8?

[英]how to make d3js donut chart supports ie8?

I found d3js donut chart to be very good for my needs. 我发现d3js甜甜圈图非常适合我的需求。 the only problem for me is that it doesnt support IE8. 对我来说唯一的问题是它不支持IE8。

Is there any way to use d3js donut chart in IE8? 有没有办法在IE8中使用d3js甜甜圈图?

SCRIPT438: Object doesn't support property or method 'map' 
d3.v3.min.js, line 3 character 17383

I know d3js supports only IE8+ browsers. 我知道d3js仅支持IE8 +浏览器。 I wonder if there is a workaround only for this case. 我想知道是否只有针对这种情况的解决方法。 if not, can you recommand a js library with the same license agreement (BSD) ? 如果没有,您可以使用相同的许可协议(BSD)来推荐一个js库吗?

Have you tried flot.js ? 您尝试过flot.js吗? The donut chart syntax is pretty simple, it has a MIT licence , and supports earlier versions of IE. 甜甜圈图语法非常简单,它具有MIT许可证 ,并且支持IE的早期版本。

Please try to use highcharts your problem will be solved. 请尝试使用highcharts,您的问题将得到解决。

Look at below url: 看下面的URL:

http://www.highcharts.com/demo/pie-donut http://www.highcharts.com/demo/pie-donut

我已经使用r2d3.js库解决了这个问题。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM