How do you add axis labels to bar charts?
axisXLab = g.append('text')
.attr("transform", "translate(" + (_chart.xAxisLength() / 2 + _chart.margins().left) + "," + (_chart.height() - _xAxisLabelPadding) + ")")
.attr('class', X_AXIS_LABEL_CLASS)
.attr('text-anchor', 'middle')
.text(_chart.xAxisLabel());
Yes. But now that I look at it, I think the x axis label isn't correctly centered. Feel free to submit issue.
On Tuesday, October 22, 2013 3:05:57 PM UTC-4, David Dornan wrote: