score:1

Accepted answer

If you are using the older circular brushes (cbrushes) method, the answer is to replace your if(dragging) operator with lines 8130 - 8138 in the new d3 svg.brush code:

if (dragging) {
        origin[0] = xExtent[0] - origin[0];
        origin[1] = yExtent[0] - origin[1];
      } else if (resizing) {
        var ex = +/w$/.test(resizing), ey = +/^n/.test(resizing);
        offset = [ xExtent[1 - ex] - origin[0], yExtent[1 - ey] - origin[1] ];
        origin[0] = xExtent[ex];
        origin[1] = yExtent[ey];
      } else if (d3.event.altKey) center = origin.slice();

Related Query

More Query from same tag