Zoom out the plot with right mouse drag
Open
- Dominant language
- Rust
- Stars
- 468
- Forks
- 108
- Avg merge
- 15m
- Merged PRs (30d)
- 3
Description
Currently there is no way to zoom out the plot using only the mouse.
I propose to use dragging from left to right to zoom in and dragging from right to left to zoom out.
So if I draw a rectangle from left to right, the viewport will zoom to fit that rectangle. But if I draw a rectangle from right to left, the viewport zooms out so that the previous viewport will fit that rectangle.
Alternatively it could be top to bottom and bottom to top respectively.
I have seen the same behaviour somewhere, but I cannot remember which application it was.
There is another suggestion about zooming https://github.com/emilk/egui_plot/issues/17
Contributor guide
Assessment
This issue has not been assessed yet.