selectAll("rect") .data(dataset, key); //重新套用資料 var texts = svg.selectAll('text') .data(dataset, key); //檢查資料長度,如果比原本長就需要移除 if ...
確定! 回上一頁