The Chart.js charts refer to a graphical representation of data. Keep reading these simple yet flexible Javascript charting for designers & developers.
Usage
In order to use this plugin, you will have to import it like so:
Also, do not forget to install it:
After that, simply copy one of the code examples demonstrated below and include it in your page.
Examples
Line Chart Example
Overview
Sales value
This component is already defined inside src/components/Cards/CardLineChart.svelte. Check it out.
Bar Chart Example
Performance
Total orders
This component is already defined inside src/components/Cards/CardBarChart.svelte. Check it out.
Props
If you want to see more examples and properties please check the official ChartJS Documentation.