From ca85dcad355d8605002673e16e96b303d2d108e7 Mon Sep 17 00:00:00 2001 From: Ben McCann <322311+benmccann@users.noreply.github.com> Date: Mon, 18 Mar 2019 00:14:01 -0700 Subject: [PATCH] Add docs for the date adapter used by the time scale (#6134) --- docs/axes/cartesian/time.md | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/docs/axes/cartesian/time.md b/docs/axes/cartesian/time.md index a3d3e016cab..61e04da749b 100644 --- a/docs/axes/cartesian/time.md +++ b/docs/axes/cartesian/time.md @@ -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