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

Replace auto-scale toggle with domain widget on line vis #1665

Merged
merged 2 commits into from
Jun 18, 2024

Conversation

axelboc
Copy link
Contributor

@axelboc axelboc commented Jun 10, 2024

As suggested in #1572, I replace the Autoscale toggle with a custom domain widget on the line (and complex line) visualization.

By removing the Autoscale toggle, we loose the ability to find the domain of the entire dataset and to set it automatically as the domain of the visualization.

However, the toggle also came with the side effect of triggering a fetch of the entire dataset, which could have very bad consequences with very large datasets (e.g. unresponsive server or browser), so I think removing it is a good thing. I also like the fact that the behaviour (and code) is now consistent between the line and heatmap visualizations.

Peek 2024-06-10 15-42

@axelboc
Copy link
Contributor Author

axelboc commented Jun 10, 2024

/approve

@axelboc
Copy link
Contributor Author

axelboc commented Jun 10, 2024

/approve

@axelboc axelboc requested a review from loichuder June 10, 2024 14:35
Copy link
Member

@loichuder loichuder left a comment

Choose a reason for hiding this comment

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

Amazing how this led to all these simplifications 😲

@axelboc axelboc merged commit b5c0353 into main Jun 18, 2024
8 checks passed
@axelboc axelboc deleted the custom-line-domain branch June 18, 2024 09:00
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