@mbostock is there a way to manually handle clicking on a background of a brush?
@mbostock sweet! Also, I've been hitting an issue where __chart__ isn't updated on brush resize, so transitions post-resize don't behave
-
-
@wycats __chart__ is updated when you call(brush.event), not when you redraw the brush. -
@mbostock This seems problematic if you're relying on animating from the "last extent" which was set by a drag, no? -
@wycats On drag, __chart__ is updated in-place by the brush’s internal event listeners. -
@mbostock this doesn't compose well with snapping, where you have to manually update the extent (and can't trigger recursive events, ofc) -
@wycats Here’s one with rounding: http://bl.ocks.org/mbostock/6498580 …
End of conversation
New conversation -
Loading seems to be taking a while.
Twitter may be over capacity or experiencing a momentary hiccup. Try again or visit Twitter Status for more information.