Skip to content

State of Chart.js & V3.0 #6598

@etimberg

Description

@etimberg

3.0 final is available

We're proud to announce that Chart.js 3.0.0 is now available. Get it with npm install --save chart.js

Overview

Chart.js 3.0 introduces a number of breaking changes. Chart.js 2.0 was released in April 2016. In the years since then, as Chart.js has grown in popularity and feature set, we've learned some lessons about how to better create a charting library. In order to improve performance, offer new features, and improve maintainability, it was necessary to break backwards compatibility, but we aimed to do so only when worth the benefit. Some major highlights of v3 include:

  • Large performance improvements including the ability to skip data parsing and render charts in parallel via webworkers
  • Additional configurability and scriptable options with better defaults
  • Completely rewritten animation system
  • Rewritten filler plugin with numerous bug fixes
  • Documentation migrated from GitBook to Docusaurus
  • API Documentation generated and verified by TypeScript
  • No more CSS injection
  • Tons of bug fixes
  • Tree shaking

In this issue we'll maintain a list of committed, nice-to-have, and proposed features for v3. Feedback from the community will help shape the prioritization for v3.

Committed Features

Proposed / Nice to Have Features

Won't do

  • Can we move hidden elements to plugin? (Remove unnecessary checks for hidden data #6255)
  • Split out the time scale into it's own package
  • Consider removing data from config so that we have datasets, labels, and options as first level properties. We agreed that data.datasets.data is confusing, but every chart would need to be updated if we changed this and all StackOverflow answers would be outdated

How can you help?

  • Provide feedback on which issues you would like prioritized for v3
  • Test out alpha & beta releases as they become available. The alpha release is quite stable though we have found a few issues. Thanks to the folks that reported them! Here's a list of known issues
  • Volunteer time to help improve the project

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions