| title | Chart | |||||
|---|---|---|---|---|---|---|
| description | The Chart component of react-chartjs-2 renders a Chart.js chart of any type in React, mixed charts included. See how to use it, its props and examples. | |||||
| head |
|
|||||
| prev | Components |
import PropsTable from '../../../components/PropsTable.astro'
import { Chart } from 'react-chartjs-2';
<Chart
type={...}
options={...}
data={...}
{...props}
/>Usage examples:
Also supports all standard <canvas> props.