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
To keep the axis unchanged, you need to set explicit min/max on the axis, else the scale limits are automatically adjusted to the "visible" data or fallback to [-1:1] if nothing is visible.
... or hide the axis.
This feature has been implemented in #5885 and will be released in 2.8.0. However, you will have to explicitly configure the axis display option to 'auto'.
On charts with multiple datasets clicking one dataset to hide it has odd behavior.
This can be seen on https://www.chartjs.org/samples/latest/charts/line/multi-axis.html, clicking one of the datasets to disable it replaces the axis scale with values from -1 to 1.
Expected behavior:
Either leave the axis unchanged or hide the axis.
The text was updated successfully, but these errors were encountered: