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
While working on the brushing implementation for some graphs, one thing that I've found missing is the ability to constrain the zoom level that a brush interaction could result in. For some of our time-series data, we want to always be able to show multiple datapoints in the graph, and brushing can sometimes make this hard to achieve if a user incrementally zooms in.
We can currently prevent the graph's data from being updated in our handleBrush function like so:
Though in this scenario the rendered selectedBox will still update with the new bounds. It would be nice to introduce an API that can solve this case, as well as introduce some other related DX and UX improvements, such as automatically "expanding" the selection to the smallest allowed domain.
The text was updated successfully, but these errors were encountered:
While working on the brushing implementation for some graphs, one thing that I've found missing is the ability to constrain the zoom level that a brush interaction could result in. For some of our time-series data, we want to always be able to show multiple datapoints in the graph, and brushing can sometimes make this hard to achieve if a user incrementally zooms in.
We can currently prevent the graph's data from being updated in our
handleBrush
function like so:Though in this scenario the rendered
selectedBox
will still update with the new bounds. It would be nice to introduce an API that can solve this case, as well as introduce some other related DX and UX improvements, such as automatically "expanding" the selection to the smallest allowed domain.The text was updated successfully, but these errors were encountered: