The snippets found here are a part of the Using Chart.js in Trilium tutorial.
The files should be linked to a render note to work, the video tutorial goes through the setup steps.
Note: The following versions appeared in the tutorial:
- Chartjs version 2.9.3.
- Chartjs Data Labels Plugin version 0.7.0