最後在使用的時候要利用call來呼叫,on來監聽事件,並且要先利用d3.drag()來開啟拖拉的功能 var bar = chart.selectAll("g") .data(dataset) .enter().append("g") ...
確定! 回上一頁