mbostock/d3 — Issue #361: d3.scale.rangePoints padding is off.
Author: mbostock
Created: 2011-11-03 16:27:39+00:00
State: open
Labels: bug

I believe that it is off by a factor of 2. According to the documentation, a padding value of 0.5 should offset the first and last point from the edge by half the distance between points; the current implement requires a padding value of 1.0 for this.