Skip to content

Range / scale limits #241

Answered by dbuezas
alexruffell asked this question in Q&A
Feb 5, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Plotlyjs does unfortunately not natively support zoom limits, but there are dome tricks we can do

  1. Zoom limits through universal functions: #233
  2. Using a fixed range (search for fixedrange) to disable zoom in an axis
  3. Applying the idea in #233 to the x axis
  4. Using double click to rescale after zoom

I may add this functionality as a yaml option if there are feature requests an multiple people needs it, until then ser the linked discussion.

I hope it works well for you!

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by dbuezas
Comment options

You must be logged in to vote
1 reply
@dbuezas
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants