Skip to content

Latest commit

 

History

History
33 lines (24 loc) · 580 Bytes

chart.mdx

File metadata and controls

33 lines (24 loc) · 580 Bytes
title Chart
description Description of Chart component from react-chartjs-2.
prev Components

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

Usage

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

<Chart
  type={...}
  options={...}
  data={...}
  {...props}
/>

Usage examples:

Props

Also supports all standard <canvas> props.