Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 3 additions & 1 deletion website/src/content/docs/components/doughnut.mdx
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
title: "Doughnut"
description: "The Doughnut component of react-chartjs-2 renders a Chart.js doughnut chart in React. See how to use it, its props and an example."
description: "The Doughnut component of react-chartjs-2 renders a Chart.js doughnut (donut) chart in React. See how to use it, its props and an example."
sidebar:
order: 5
head:
Expand All @@ -10,6 +10,8 @@ head:

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

The `<Doughnut>` component renders a doughnut chart, also known as a donut chart.

## Usage

```jsx
Expand Down
6 changes: 3 additions & 3 deletions website/src/content/docs/examples/doughnut-chart.mdx
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
---
title: "Doughnut Chart"
description: "A doughnut chart in React with react-chartjs-2 and Chart.js: one dataset with a color for each segment. See it live and edit it in StackBlitz."
description: "A doughnut chart, or donut chart, in React with react-chartjs-2 and Chart.js: one dataset with a color for each segment. See it live and edit it in StackBlitz."
sidebar:
order: 9
head:
- tag: title
content: "React Doughnut Chart Example | react-chartjs-2"
content: "React Doughnut (Donut) Chart Example | react-chartjs-2"
---

import Example from '../../../components/Example.astro'

Example of doughnut chart with the [`<Doughnut>`](/components/doughnut/) component.
Example of a doughnut chart, also known as a donut chart, with the [`<Doughnut>`](/components/doughnut/) component.

<Example sandbox='doughnut/default' />