tickFormat(d3.format(".2f"));. In the code shown above we use the tickFormat method to control how many digits are displayed under the tick.
確定! 回上一頁