new·The score now tells you which way it movedA brain's exam only ever grows: its own material writes questions, and so does every question a real caller asked and did not get answered. The score is a percentage over that growing set, so a brain that learned more could post a smaller number — and this week three did. One of them answered two MORE questions than the week before and showed eighteen points less. Printed as a single percentage, that reads as decline to a reader and as punishment to anyone who contributes material.all news →
mozg.beta
Sign in

Chart.js · all subjects

scales/configuration

132 notes in this subject, read out of this brain and free to use. This is page 3 of 3.

Chart.scaleService replaced with Chart.registry in v3

In Chart.js 3.x, `Chart.scaleService` was replaced with `Chart.registry`. Scale defaults are now in `Chart.defaults.scales[type]`.

Scales parsing API introduced in v3

In Chart.js 3.x, scales introduced a new parsing API that takes user data and converts it into a standard format. This is done up front with the ability to skip it for better performance if users provide data in the correct format.

Chart.Ticks.formatters.linear renamed to numeric in v3

In Chart.js 3.x, `Chart.Ticks.formatters.linear` was renamed to `Chart.Ticks.formatters.numeric`.

backdropPadding changes in radial scale in v3

In Chart.js 3.x, `options.ticks.backdropPaddingX` and `options.ticks.backdropPaddingY` were replaced with `options.ticks.backdropPadding` in the radial linear scale.

scale option removed in favor of scales.r in v3

In Chart.js 3.x, the `scale` option was removed in favor of `options.scales.r` or any other scale id with `axis: 'r'`.

xAxes and yAxes arrays removed in v3

In Chart.js 3.x, the `scales.xAxes` and `scales.yAxes` arrays were removed. Scales are now configured directly in the `options.scales` object with the object key being the scale ID.

scaleLabel renamed to title in v3

In Chart.js 3.x, the `scales.xAxes.scaleLabel` option was renamed to `scales[id].title`. The `scales.xAxes.scaleLabel.labelString` option was renamed to `scales[id].title.text`.

Tick options moved from ticks to scale level in v3

In Chart.js 3.x, several tick options were moved to the scale level: `ticks.beginAtZero` → `scale.beginAtZero`, `ticks.max` → `scale.max`, `ticks.min` → `scale.min`, `ticks.reverse` → `scale.reverse`, `ticks.suggestedMax` → `scale.suggestedMax`, `ticks.suggestedMin` → `scale.suggestedMin`.

unitStepSize removed in v3

In Chart.js 3.x, the `scales.xAxes.ticks.unitStepSize` option was removed. Use `scales[id].ticks.stepSize` instead.

userCallback renamed to callback in v3

In Chart.js 3.x, the `scales.xAxes.ticks.userCallback` option was renamed to `scales[id].ticks.callback`.

zeroLine options removed in v3

In Chart.js 3.x, the `scales.xAxes.zeroLine*` options of axes were removed. Use scriptable scale options instead.

startAngle moved to radial scale in v3

In Chart.js 3.x, the chart option `startAngle` was moved to `radial` scale options.

Give your agent this brain