giraffe
giraffe copied to clipboard
Multiple Plot zoom and unzoom support
When an app has multiple <Plot> components visible, there are cases where a user wants to zoom in one <Plot> (click-drag) and have that behavior reflected on all <Plot>s. Same for unzoom. (Giraffe may already have this for unzoom, but it should also work with zoom seamlessly). Make this behavior easier to implement.
There should be a way to do the following:
- allow multiple
<Plot>s to be zoomed and unzoomed at the same time - even when they have different dimensions
- access the default zoom and unzoom behavior from the custom callbacks for the domain
- set the min and max based on a percentage
- translate the mouse position offset using a percentage (of the
<Plot>the user is interacting with) and sending it to all<Plot>s