rangePoints([0, width], 1) 似乎在d3js v4 中 rangePoints 功能已经不存在了。我可以更改为d3。 scaleOrdinal (),但它只有 range 函数,而不是 rangePoints 功能。
確定! 回上一頁