About 50 results
Open links in new tab
  1. react-chartjs-2

    react-chartjs-2 React components for Chart.js, the most popular charting library. Supports Chart.js v4 (read below) and Chart.js v3 (see this guide). Quickstart Install this library with peer …

  2. Examples | react-chartjs-2

    List of react-chartjs-2 usage examples.

  3. Using with Chart.js v3 | react-chartjs-2

    Also, please consider upgrading your app to Chart.js v4. Upgrading to Chart.js v4 First, upgrade packages. You'll need to install Chart.js v3 and the latest version of this library:

  4. Migration to v4 | react-chartjs-2

    Tree-shaking v4 of this library, just like Chart.js v3, is tree-shakable. It means that you need to import and register the controllers, elements, scales, and plugins you want to use. For a list of …

  5. Chart | react-chartjs-2

    Chart Usage import { Chart } from 'react-chartjs-2'; <Chart type={...} options={...} data={...} {...props} />

  6. Components | react-chartjs-2

    List of react-chartjs-2 components.

  7. Working with datasets | react-chartjs-2

    import { Line } from 'react-chartjs-2'; <Line datasetIdKey='id' data={{ labels: ['Jun', 'Jul', 'Aug'], datasets: [ { id: 1, label: '', data: [5, 6, 7], }, { id: 2, label: '', data: [3, 2, 1], }, ], }} />

  8. Line Chart | react-chartjs-2

    Example of line chart in react-chartjs-2.

  9. How to use react-chartjs-2 with TypeScript?

    How to use react-chartjs-2 with TypeScript? TypeScript has extremely robust type inference capabilities and most of the time we can enjoy type safety and autocompletion without having …

  10. Stacked Bar Chart | react-chartjs-2

    Example of stacked bar chart in react-chartjs-2.