# Chart.js Block
This block renders a Chart.js component.
# Usage
To configure this block use this setting:
{
type: 'chartjs',
config: {...}
}
Option | Description | Default | Values |
---|---|---|---|
type | Define this block type (required) | "chartjs" | |
config | A valid Chart.js configuration object (required) | Object | |
# Installation
Please read the installation istructions for official plugins here using this unique identifier: block-chartjs
You can find the source code in its repository.