0👍
You need to build the samples and open them in your browser.
From the official docs:
Alternatively, you can run them locally. To do so, clone the Chart.js repository from GitHub, run
pnpm ci
to install all packages, then runpnpm run docs:dev
to build the documentation. As soon as the build is done, you can go to localhost:8080/samples to see the samples.
- Chartjs-How to I optimise these javscript options which is used multiple times on different chart.js graphs?
- Chartjs-Reactivity Chartjs in Svelte
Source:stackexchange.com