SIGN IN SIGN UP
chartjs / Chart.js UNCLAIMED

Simple HTML5 Charts using the <canvas> tag

0 0 1 JavaScript

Use `Chart.min.js` in samples (#5958)

Samples are supposed to show good practices and in most cases we don't use the time scale but require `Chart.bundle.js`, which is not correct. Instead, we should require the non-bundled version in its minified version (`Chart.min.js`). Paradoxically, time based examples don't use `Chart.bundle.js` but require moment manually side to `Chart.min.js`, which IMO is also the correct way since it allows users to configure and use moment globally (TZ, locales, etc.) and doesn't enforce a specific moment version.

Also remove the `data-labelling.html` example because we now have an [official plugin](https://github.com/chartjs/chartjs-plugin-datalabels) that implements this feature and don't want to deal with user custom code anymore.
S
Simon Brunel committed
b7139dbbef9ae978a5e26029bc1620b54c7652b4
Parent: 87e44fa
Committed by Evert Timberg <evert.timberg+github@gmail.com> on 1/6/2019, 2:56:58 PM