gpt4 book ai didi

browser - D3.JS 浏览器支持

转载 作者:行者123 更新时间:2023-12-03 07:21:03 25 4
gpt4 key购买 nike

具有 D3.JS 经验的开发人员能否指出哪些特定浏览器和浏览器版本级别实际上最容易支持 D3.JS 库?

是否有已知与特定浏览器和浏览器版本级别不兼容的 D3.JS“组件”列表?

D3.JS 网站建议:

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!"

但是,我希望得到更具体的答案。

最佳答案

我将在这里大胆地将 SVG 支持与 D3 支持等同起来,因为(在我看来)这是该库中最有用的部分。

考虑到这一点,此链接应该为您提供支持它的确切浏览器版本: http://caniuse.com/svg

这与您从 D3 站点粘贴的内容相匹配:基本上除了 IE 之外的每个主要浏览器供应商都对许多版本提供了 SVG 支持。

你的问题说“在实践中”,这意味着 SVG。是的,我知道有一些将 D3 与 DOM 的非 SVG 部分一起使用的示例,但绝大多数示例都在 gallery 中。基于 SVG。

关于browser - D3.JS 浏览器支持,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/15159002/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com