Skip to content

Dont allow pan past the data last data point #2248

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

Closed
merijndk opened this issue Jan 11, 2018 · 1 comment
Closed

Dont allow pan past the data last data point #2248

merijndk opened this issue Jan 11, 2018 · 1 comment

Comments

@merijndk
Copy link

It would be really nice to not allow users to pan past the last data. I cant find any option for this. I also tried doing this using the on relayout event and prevent it from panning when the data is past a certain x axis point but I cant find a way to prevent the panning from happening.

@merijndk merijndk changed the title Dont allow drag past the data Dont allow pan past the data last data point Jan 11, 2018
@alexcjohnson
Copy link
Collaborator

Yes, we've discussed a mode that does this, but it's not implemented yet. See #1876

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

No branches or pull requests

2 participants