dc.js 与 d3.js 的 v4 的兼容性
dc.js compatibility with v4 of d3.js
不向后兼容的 d3.js
版本 4.x 于 6 月底发布。
dc.js
的 bower.json 包括:
"dependencies": {
"d3": "3.x",
"crossfilter2": "~1.3"
}
明确要求 d3.js
.
的 v3(不更高)
dc.js
当前与 d3.js
的 4.x 版本兼容吗?如果没有,这是计划中的吗?
绝对不兼容。 d3
v4 有重大的 api 变化。
就计划而言,dc.js' github acount:
对此进行了热烈讨论
So what is the plan then? Use @jfsiii suggetion of finishing off dc v2
using d3 v3 and then create dc v3 using d3 v4? Would upgrading to d3
v4 warrant an almost complete re-write?
gordonwoodhull: Something like that. ... I doubt it's a rewrite as there are a lot of subtle details to the way the code is now. Of course if you want to write dc.js from scratch, no one's stopping you, but I'd rather see this repo evolve... Many chart libraries have died from trying to change everything at once.
不向后兼容的 d3.js
版本 4.x 于 6 月底发布。
dc.js
的 bower.json 包括:
"dependencies": {
"d3": "3.x",
"crossfilter2": "~1.3"
}
明确要求 d3.js
.
dc.js
当前与 d3.js
的 4.x 版本兼容吗?如果没有,这是计划中的吗?
绝对不兼容。 d3
v4 有重大的 api 变化。
就计划而言,dc.js' github acount:
对此进行了热烈讨论So what is the plan then? Use @jfsiii suggetion of finishing off dc v2 using d3 v3 and then create dc v3 using d3 v4? Would upgrading to d3 v4 warrant an almost complete re-write?
gordonwoodhull: Something like that. ... I doubt it's a rewrite as there are a lot of subtle details to the way the code is now. Of course if you want to write dc.js from scratch, no one's stopping you, but I'd rather see this repo evolve... Many chart libraries have died from trying to change everything at once.