Skip to content
This repository was archived by the owner on Jul 30, 2020. It is now read-only.
This repository was archived by the owner on Jul 30, 2020. It is now read-only.

Make X-zoom the default #76

@adamwight

Description

@adamwight

Providing a box zoom is an advanced and mostly aggravating feature. In most cases the correct default is to zoom on the X-axis, and auto-range the Y-axis. Giving control over the Y-zoom is almost too powerful. My recommendation is to respond to user onMouseDrag input in a differential way:
a) Drag endpoints are mostly separated in the X direction -> Draw a zoom line, and when performing the zoom, auto-range Y.
b) Drag endpoints have some Y separation -> Draw the zoom box, and do a box zoom.

''Rambling''
We could also have a Y-only zoom, if the drag points are vertical.

There should also be a way to make slight corrections to the zoom factors, without screwing up a nice graph.

The escape key, and stuff, should abort any UI interaction.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions