Skip to content

Latest commit

 

History

History
31 lines (22 loc) · 559 Bytes

pie.mdx

File metadata and controls

31 lines (22 loc) · 559 Bytes
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
tag content
title
Pie: React Pie Chart Component | react-chartjs-2

import PropsTable from '../../../components/PropsTable.astro'

Usage

import { Pie } from 'react-chartjs-2';

<Pie
  options={...}
  data={...}
  {...props}
/>

Usage examples:

Props

Also supports all standard <canvas> props.