如何使Nvd3在Internet Explorer 8中工作? [英] How to make nvd3 work in Internet Explorer 8?

查看:143
本文介绍了如何使Nvd3在Internet Explorer 8中工作?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我创建一个仪表板项目,我使用nvd3,但我们知道svg不支持在IE8中,所以它不会在IE8中呈现图形/图表。建议我如何使nvd3在IE8工作

I am creating a dashboard project for which i am using nvd3 but as we know svg is not supported in IE8 so it does not render graphs/charts in IE8..please suggest how i can make nvd3 work in IE8

推荐答案

我在相同的情况,我想我可能只是沟渠nvd3(除了ie8支持,我找到其他错误) 。我想知道,有人成功地使用r2d3与nvd3吗?

I'm in the same situation and I think I may just ditch nvd3 (besides no ie8 support, I'm finding other bugs). I'm wondering, has anyone successfully used r2d3 with nvd3?

我担心的是r2d3现在使用d3v3,目前nvd3目前不支持(目前为d3v2 ... d3v3支持在写这个的作品)。

My concern is that r2d3 uses d3v3 now, which nvd3 is not presently supporting (currently d3v2... d3v3 support in the works as of writing this).

对于nvd3的替代方案,我正在考虑:
MorrisJS
- 工作于ie8(基于Raphael的),但是一个较新的项目和较少的灵活性/选项与图表比较。

For an alternative to nvd3, I'm considering: MorrisJS! - Works on ie8 (Raphael-based), but a newer project and less flexibility/options with the charts comparatively.

Google Chart Engine
- 我认为这可能是去的方式(对于我的项目),我不喜欢它的非开放源代码,但我已经与Google Maps API广泛工作,这个解决方案是非常稳定的,容易使用从我的经验到目前为止。在ie8的有限测试中,它工作得很好。

Google Chart Engine! - I think this may be the way to go (for my project), I don't like that its not open source, but I'm already working extensively with the Google Maps API and this solution is very stable and easy to use from my experiences thus far. In limited testing in ie8 it works very well.

此外,这里有另一个stackoverflow问题,[问题]: nvd3.js为Internet Explorer的渲染解决方案
...似乎r2d3是接受的答案,但没有一个真正验证了它。

Also, here's another stackoverflow question on this topic, [question]: nvd3.js rendering solution for Internet Explorer ...seems r2d3 was the accepted answer there, but no one really verified it.

这篇关于如何使Nvd3在Internet Explorer 8中工作?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆