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

prevent chart from scrolling past-end / pre-start on X axis #466

Closed
1 of 3 tasks
arcln opened this issue Jan 6, 2021 · 2 comments
Closed
1 of 3 tasks

prevent chart from scrolling past-end / pre-start on X axis #466

arcln opened this issue Jan 6, 2021 · 2 comments

Comments

@arcln
Copy link

arcln commented Jan 6, 2021

I'm submitting a...

  • bug
  • feature
  • chore

What is the current behavior

When I scroll all the way left/right, the chart continues to scroll indefinitely.

What is the expected behavior

I would prefer the chart to stop at the first/last data point.

Please tell us about your environment

  • Version: 1.0.1
  • Browser: all

Other information

I tried setting xExtents={[minX, maxX]}, but I doesn't change anything.

@markmcdowell
Copy link
Collaborator

markmcdowell commented Jan 6, 2021

@arcln
Copy link
Author

arcln commented Jan 6, 2021

This is what I was looking for, my bad I didn't find it in the docs. Thanks, closing :)

@arcln arcln closed this as completed Jan 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

2 participants