Libraries
Chart.js
chart@4.4.7
Charts for dashboard/tool prototypes.
- Version
- 4.4.7
- License
- MIT
- Size
- 69 KB
Add it
Declare it in prototir.json at the root of your ZIP. Prototir checks the
version at upload and adds it to the page's import map.
prototir.json
{
"modules": [
"chart@4.4.7"
]
}Then import it by name, from 'chart', as you would from npm.
Reference
Prototir serves the library unchanged, so its own documentation applies.
Chart.js documentationVersions
Every version stays available, so a prototype keeps working exactly as published. Declare the one you tested with.
chart@4.4.7
As JSON: /modules/chart.json. Source: npm:chart.js.