chartjs / chartjs/chartjs-plugin-deferred

Installation docs: is import required or what?

Open
#35 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
113
Forks
20
PR merge metrics
No merged PRs in 30d

Description

Reading the docs, it was not clear to me how to get this work with ChartJS4 in my context of a web app (Vue or React).

Through trial-and-error, I discovered I simply needed to add:

```
import ChartDeferred from 'chartjs-plugin-deferred'
ChartJS.register(, ChartDeferred)
```

Maybe I missed it or I'm overlooking something obvious, this doesn't seem to be mentioned anywhere in the main git readme or the npm page for this library.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.