You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
On brush or brushend events, you could call brushExtents(). The keys of the returned object should be the axes that have been brushed. This gets updated each time a new axis is brushed (unless brushReset() is called).
Also, earlier this month, I tried to add a brushstart event handler that would return the appropriate dimension object when brushstart fires. See 932f16d. I submitted a pull request for this, but haven't heard anything else back yet. I needed it to be in the brushstart event, but you could probably apply the same idea to brush or brushEnd too.
There might be a simpler way to get the axis being brushed by using d3 selectors, but I'm not really sure.
Is it posibble to know which of the axis is the one to trigger the brush event?
Thanks a lot!!
The text was updated successfully, but these errors were encountered: