Skip to content

Commit

Permalink
Add docs for the date adapter used by the time scale (chartjs#6134)
Browse files Browse the repository at this point in the history
  • Loading branch information
benmccann authored and simonbrunel committed Mar 18, 2019
1 parent 504abfe commit ca85dca
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions docs/axes/cartesian/time.md
Expand Up @@ -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
Expand Down

0 comments on commit ca85dca

Please sign in to comment.