D3.JS浏览器支持 [英] D3.JS Browser Support

查看:511
本文介绍了D3.JS浏览器支持的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

可以与D3.JS经验的开发商指出哪些特定的浏览器和浏览器版本的水平在实践中最容易支持D3.JS库?

Could a developer with experience of D3.JS indicate what specific browsers and browser version levels in practice most readily support the D3.JS library ?

有哪些已知不与特定的浏览器和浏览器版本电平兼容D3.JS组件列表?

Is there a list of D3.JS 'components' which are known not to be compatible with specific browsers and browser version levels?

该网站D3.JS提示:

The D3.JS website suggests :

D3支持所谓的现代的浏览器,这通常意味着一切,除了IE8及以下。 D3反对火狐,Chrome(铬),Safari浏览器(WebKit的),Opera和IE9测试。 D3的部分内容可能在较旧的浏览器,为核心D3库有最低要求:JavaScript和W3C DOM API。对于IE8,建议兼容性库Aight。 D3使用选择器API级别1,但您可以preLOAD灒兼容性。你需要一个现代浏览器中使用SVG和CSS3过渡。 D3是不是一个兼容层,所以如果你的浏览器不支持的标准,你的运气了。对不起!

Browser Support

D3 supports so-called "modern" browsers, which generally means everything except IE8 and below. D3 is tested against Firefox, Chrome (Chromium), Safari (WebKit), Opera and IE9. Parts of D3 may work in older browsers, as the core D3 library has minimal requirements: JavaScript and the W3C DOM API. For IE8, the compatibility library Aight is recommended. D3 uses the Selectors API Level 1, but you can preload Sizzle for compatibility. You'll need a modern browser to use SVG and CSS3 Transitions. D3 is not a compatibility layer, so if your browser doesn't support standards, you're out of luck. Sorry!"

不过,我希望的是更具体的答案。

However, I was hoping for a more specific answer.

推荐答案

我要在这里走出去的肢体和等同于D3支持SVG的支持,因为(在我看来)这是库中最有用的部分

I'm going to go out on a limb here and equate SVG support with D3 support, since (in my opinion) that's the most useful part of the library.

考虑到这一点,这个环节应该给你支持它的确切的浏览器版本:
http://caniuse.com/svg

With that in mind, this link should give you the exact browser versions that support it: http://caniuse.com/svg

和这个相匹配您从D3网站粘贴了什么:许多许多版本基本上除了IE以外所有主要的浏览器厂商已经有支持SVG

And this matches what you pasted from the D3 site: basically every major browser vendor except IE has had SVG support for many many versions.

您的问题说:在实践中,这意味着SVG。是的,我知道有使用D3与DOM的非SVG部分一些样品,但在的 是基于SVG的画廊。

Your question says "in practice" and that means SVG. Yes, I know there are some samples of using D3 with the non-SVG parts of the DOM, but the vast majority of the examples in the gallery are SVG-based.

这篇关于D3.JS浏览器支持的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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