axisLeft() work the same way. attr(“x”, function(d,i){ return xScale(i) + ... text The default value is a function of the axis tick labels, the title `font.
確定! 回上一頁