In your particular case you can simply use d to position the tooltip, i.e. tooltip.html(d) .style("left", d + "px") .style("top", d + "px"); To make this a ...
確定! 回上一頁