You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to summarize as much as possible, we have the following use case:
A chart with two 'y' scales - both scales are created using the 'suggestedMin' and 'suggestedMax' properties
Starts to zoom in
Hides the scale and datasets of one of the 'y' scales - this is done via the native legend plugin of chartjs
Resets zoom (this.chart.resetZoom()) - zoom is reset
Observing the onZoomComplete callback, the previously hidden scale now has a 'min'=0 and 'max'=1
- The expectation would be that the scale would have the initial values
If the chart scales are build using the 'min' and 'max' properties instead of the 'suggestedMin' and 'suggestedMax' (point 1), then the expectation is correctly met.
Thank you.
The text was updated successfully, but these errors were encountered:
Hello,
Trying to summarize as much as possible, we have the following use case:
- The expectation would be that the scale would have the initial values
If the chart scales are build using the 'min' and 'max' properties instead of the 'suggestedMin' and 'suggestedMax' (point 1), then the expectation is correctly met.
Thank you.
The text was updated successfully, but these errors were encountered: