question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

State of Chart.js & V3.0

See original GitHub issue

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? (https://github.com/chartjs/Chart.js/pull/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

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:62
  • Comments:105 (65 by maintainers)

github_iconTop GitHub Comments

78reactions
etimbergcommented, Mar 18, 2021

The first release candidate, v3.0.0-rc was released today.

17reactions
kurklecommented, Feb 16, 2021

@boddunan its getting close. I think #8332 is probably the last breaking change. There will most likely be one more beta and one or more release canditates before release.

Read more comments on GitHub >

github_iconTop Results From Across the Web

API | Chart.js
Reset the chart to its state before the initial animation. A new animation can then be triggered using update . myLineChart.reset();.
Read more >
3.x Migration Guide - Chart.js
Chart.js 3.0 introduces a number of breaking changes. ... Polar area startAngle option is now consistent with Radar , 0 is at top...
Read more >
Step-by-step guide - Chart.js
Step-by-step guide. Follow this guide to get familiar with all major concepts of Chart.js: chart types and elements, datasets, customization ...
Read more >
Updating Charts - Chart.js
When the chart data or options are changed, Chart.js will animate to the new data values and options. # Adding or Removing Data....
Read more >
Interactions - Chart.js
interaction , the global interaction configuration is at Chart.defaults.interaction . To configure which events trigger chart interactions, see ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found