D3 內建有座標軸語法, d3.svg.axis() ,共分為五個步驟. 1 2 3 4 5 6 7 8 ... attr("transform", "translate("+w/2+","+h/2+")") //圓餅圖圓心在網頁上 ...
確定! 回上一頁