If the element is a circle, you can get the cx attribute, which is the horizontal positioning. tooltip .style("top", d3.select( ...
確定! 回上一頁