1.0.2 • Published 1 year ago

chartjs-community-adapter-dayjs v1.0.2

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

chartjs-community-adapter-dayjs

Overview

This adapter allows the use of dayjs with Chart.js.

Requires Chart.js 2.8.0 or later and dayjs 1.11.0 or later.

Note: once loaded, this adapter overrides the default date-adapter provided in Chart.js (as a side-effect).

Installation

npm

npm install chartjs-community-adapter-dayjs --save
import { Chart } from 'chart.js';
import 'chartjs-community-adapter-dayjs';

Development

You first need to install node dependencies (requires Node.js):

> npm install

The following commands will then be available from the repository root:

> npm run build         // build dist files
> npm run lint          // perform code linting
1.0.2

1 year ago

1.0.1

1 year ago

0.1.0

1 year ago