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.
As suggested in https://github.com/silx-kit/h5web/issues/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.