0.1.13 • Published 1 year ago

chartjs-adapter-date-std v0.1.13

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

chartjs-adapter-date-std

Overview

An adaptor for the Chart.js library enabling usage of time series without dependencies to any 3rd party libraries.

Requires Chart.js 2.8.0 or later.

Note: you need to register this adapter to override the default one provided in Chart.js (See usage).

Developed and Used by the Dont-code platform report plugin.

Installation

npm

npm install chartjs-adapter-date-std --save

Usage

You need to register the Adaptor manually once:

import { _adapters } from 'chart.js';
import {StdDateAdapter} from 'chartjs-adapter-date-std';

_adapters._date.override( StdDateAdapter.chartJsStandardAdapter());

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 test          // run karma tests

License

chartjs-adapter-date-std is available under the MIT license.

0.1.10

1 year ago

0.1.11

1 year ago

0.1.12

1 year ago

0.1.13

1 year ago

0.1.9

1 year ago

0.1.8

2 years ago

0.1.7

2 years ago

0.1.6

2 years ago

0.1.5

2 years ago

0.1.4

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago

0.1.0

2 years ago