Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added option to set max zoom level #71

Merged
merged 4 commits into from
Aug 7, 2023

Conversation

OssamaRafique
Copy link
Member

@OssamaRafique OssamaRafique commented Jul 27, 2023

Graph Zoom Control

The enhanced graph visualization tool now offers refined zoom controls, ensuring a precise and adaptable data representation.

Key Enhancements:

Unified Zoom: Using maxZoomLevel, both the X and Y axes can be controlled simultaneously, providing a unified viewing experience.

Usage:

setViewOptions({
  maxZoomLevel: 0,
});

@jkanche
Copy link
Member

jkanche commented Jul 27, 2023

I don't think we want to add multiple variables here.

  • lockedX + maxZoomLevel behaves as maxYZoomLevel
  • lockedY + maxZoomLevel behaves as maxXZoomLevel

Copy link
Member

@jkanche jkanche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

  • Need documentation in README
  • bump version

Copy link
Member

@jkanche jkanche left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@OssamaRafique OssamaRafique merged commit 165ed7d into epiviz:main Aug 7, 2023
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants