Skip to content
Gordon Woodhull edited this page Feb 25, 2020 · 4 revisions

This screenshot shows which properties and accessors control which text in a chart.

labels screenshot

(fiddle)

To change axis labels, first get the axis object using .xAxis() or .yAxis(). Then use .tickFormat() or other d3-axis methods to change the text. Be sure to do this in a separate statement or confusion may occur.