Skip to content

Commit ca85dca

Browse files
benmccannsimonbrunel
authored andcommitted
Add docs for the date adapter used by the time scale (chartjs#6134)
1 parent 504abfe commit ca85dca

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/axes/cartesian/time.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,10 @@
22

33
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.
44

5+
## Date Adapters
6+
7+
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.
8+
59
## Data Sets
610

711
### Input Data

0 commit comments

Comments
 (0)