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