Skip to content
New issue

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

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

Already on GitHub? # to your account

Double Clicking on Dash App Does not Reset Axes #49

Closed
jayceslesar opened this issue May 8, 2022 · 4 comments
Closed

Double Clicking on Dash App Does not Reset Axes #49

jayceslesar opened this issue May 8, 2022 · 4 comments
Assignees
Labels
discussion open discussion about some functionality documentation Improvements or additions to documentation

Comments

@jayceslesar
Copy link
Contributor

No description provided.

@jvdd
Copy link
Member

jvdd commented May 8, 2022

Hi @jayceslesar

Indeed, double-clicking results does not Reset Axes as it results in an “Autoscale” event. @jonasvdd & I decided to implement an Autoscale event as updating your y-range such that it shows all the data that is in your x-range.

Note: vanilla Plotly figures their Autoscale result in Reset Axes behavior, in our opinion this did not make a lot of sense. It is therefore that we have overriden this behavior in plotly-resampler.

I'm interested in hearing your opinion about this!

Cheers, Jeroen

@jonasvdd jonasvdd added documentation Improvements or additions to documentation discussion open discussion about some functionality labels May 8, 2022
@jayceslesar
Copy link
Contributor Author

This does make sense, looking at grafana's implementation of this feature, when zooming in on some data and then double-clicking it only zooms out on the set of points within your x-range. Maybe would want to add some functionality to do this where a developer could explicitly set this in place?

@jonasvdd jonasvdd self-assigned this Aug 12, 2022
@jonasvdd
Copy link
Member

Documented in #104

@quantlord8
Copy link

I'd like to have the default behaviour while double clicking, what would be the easiest way to achieve this? Thanks

# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
discussion open discussion about some functionality documentation Improvements or additions to documentation
Projects
None yet
Development

No branches or pull requests

4 participants