chart.yAxis
.axisLabel('Users')
.tickFormat(d3.format(',.0d'));
정밀도
chart.yAxis
.axisLabel('Users')
.tickFormat(d3.format(',.2f'));
에서 후속 코드를 변경하려하는 것은 변함 (여전히 1/100 위치 값을 나타낸다). 나는 Github Wiki를 아무런 쓸모없이 따라 갔다. https://github.com/mbostock/d3/wiki/Formatting#wiki-d3_format
어떤 제안이나 암시도 주시면 감사하겠습니다.
답장과 서식에 대한 개요를 보내 주셔서 감사합니다! – Viet
다른 사람들이 유용하다고 생각해야합니다. 여기에 d3 포매터에 대한 예제가있는 작은 자습서가 있습니다. http://koananing.github.io/html/d3format.html – cantdutchthis