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
feat: remove default axis override when custom id is given (#10643)
* feat: remove default axis override when custom id is given
* docs: add info into migration guide
* test: fix tests for the feat
* docs: add info into migration guide
* test: fix tests for the feat
* feat: review fixes
* feat: review fixes
Copy file name to clipboardExpand all lines: docs/migration/v4-migration.md
+1
Original file line number
Diff line number
Diff line change
@@ -7,6 +7,7 @@ Chart.js 4.0 introduces a number of breaking changes. We tried keeping the amoun
7
7
### Charts
8
8
9
9
* Charts don't override the default tooltip callbacks, so all chart types have the same-looking tooltips.
10
+
* Default scale override has been removed if the configured scale starts with `x`/`y`. Defining `xAxes` in your config will now create a second scale instead of overriding the default `x` axis.
* Which type of axis this is. Possible values are: 'x', 'y'. If not set, this is inferred from the first character of the ID which should be 'x'or 'y'.
3042
+
* Which type of axis this is. Possible values are: 'x', 'y', 'r'. If not set, this is inferred from the first character of the ID which should be 'x', 'y' or 'r'.
3043
3043
*/
3044
-
axis: 'x'|'y';
3044
+
axis: 'x'|'y'|'r';
3045
3045
3046
3046
/**
3047
3047
* User defined minimum value for the scale, overrides minimum value from data.
0 commit comments