chartjs-community-adapter-dayjs

1.0.2 • Public • Published

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

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 1.0.2
    156
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 1.0.2
    156
  • 1.0.1
    0
  • 0.1.0
    0

Package Sidebar

Install

npm i chartjs-community-adapter-dayjs

Weekly Downloads

156

Version

1.0.2

License

MIT

Unpacked Size

38.1 kB

Total Files

8

Last publish

Collaborators

  • fegbert