About 554 results
Open links in new tab
  1. Doughnut and Pie Charts | Chart.js

    Oct 13, 2025 · Pie and doughnut charts are probably the most commonly used charts. They are divided into segments, the arc of each segment shows the proportional value of each piece of data.

  2. Line Chart | Chart.js

    Oct 13, 2025 · Line charts can be configured into stacked area charts by changing the settings on the y-axis to enable stacking. Stacked area charts can be used to show how one data trend is made up of …

  3. Bar Chart | Chart.js

    Oct 13, 2025 · Bar charts can be configured into stacked bar charts by changing the settings on the X and Y axes to enable stacking. Stacked bar charts can be used to show how one data series is made …

  4. Integration - Chart.js

    Oct 13, 2025 · The examples below show how to load Chart.js in different systems. If you're using a front-end framework (e.g., React, Angular, or Vue), please see available integrations.

  5. Basic | chartjs-plugin-annotation

    Dec 13, 2024 · const annotation = { type: 'doughnutLabel', content: ( {chart}) => ['Average', average (chart).toFixed (2), 'on last ' + chart.data.labels.length + ' months' ], font: [ {size: 60}, {size: 50}, {size: …

  6. Animations - Chart.js

    Oct 13, 2025 · Animations Chart.js animates charts out of the box. A number of options are provided to configure how the animation looks and how long it takes.

  7. Bubble Chart | Chart.js

    Oct 13, 2025 · A bubble chart is used to display three dimensions of data at the same time. The location of the bubble is determined by the first two dimensions and the corresponding horizontal and vertical …

  8. Step-by-step guide | Chart.js

    Oct 13, 2025 · By default, Chart.js charts have the aspect ratio of either 1 (for all radial charts, e.g., a doughnut chart) or 2 (for all the rest). Let’s modify the aspect ratio for our chart:

  9. Chart.js

    Oct 13, 2025 · Chart.js comes with built-in TypeScript typings and is compatible with all popular JavaScript frameworks including React, Vue, Svelte, and Angular. You can use Chart.js directly or …

  10. Doughnut - Chart.js

    Oct 13, 2025 · const config = { type: 'doughnut', data: data, options: { responsive: true, plugins: { legend: { position: 'top', }, title: { display: true, text: 'Chart.js Doughnut Chart' } } }, };