novus/nvd3 — pull request #72 by ianxm (2012-07-17 04:07:14+00:00)
Title: center x axis label for multibar chart

this centers the x axis label for the multibar chart. the x axis label is currently centered under the first x axis tick label instead of being centered under the axis. the reason is that scale.range() acts differently for ordinal axes. this works but it's probably not the best way to figure out the axis width.

the second commit moves the x axis label down a bit. it overlaps the tick labels on scatter plots because showDistX pushes them down a bit.