Change BarRenderer to use a dx parameter rather than x2.
More consistent with D3.
Close #96.