]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add docs for the date adapter used by the time scale (#6134)
authorBen McCann <322311+benmccann@users.noreply.github.com>
Mon, 18 Mar 2019 07:14:01 +0000 (00:14 -0700)
committerSimon Brunel <simonbrunel@users.noreply.github.com>
Mon, 18 Mar 2019 07:14:01 +0000 (08:14 +0100)
docs/axes/cartesian/time.md

index a3d3e016cab234c3a33596b4b67739cbfa1a1c78..61e04da749b7315ad2242ecc99107189ac7d8cf3 100644 (file)
@@ -2,6 +2,10 @@
 
 The time scale is used to display times and dates. When building its ticks, it will automatically calculate the most comfortable unit base on the size of the scale.
 
+## Date Adapters
+
+The time scale requires both a date library and corresponding adapter to be present. By default, Chart.js includes an adapter for Moment.js. You may wish to [exclude moment](../../getting-started/integration.md) and choose from [other available adapters](https://github.com/chartjs/awesome#adapters) instead.
+
 ## Data Sets
 
 ### Input Data