SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 80 JavaScript

Change `ticks.mode` to `scale.distribution` (#4582)

Fix `ticks.mode` behavior when `ticks.source` is `auto`: the lookup table is now built from the data and not from the ticks, so data (and ticks) are correctly distributed along the scale. Rename the option to `distribution` (more explicit than `mode`) and since this option applies from now on the data, it seems better to have it under `scale` instead `scale.ticks`.
S
Simon Brunel committed
97e23737210bbfb5612b41e2573430350f1aeee6
Parent: 53b7a63
Committed by GitHub <noreply@github.com> on 7/30/2017, 7:24:29 PM