Ng2-charts: chart Js 3.0 update

Created on 27 Mar 2020  路  16Comments  路  Source: valor-software/ng2-charts

Hi

I was wondering if there are any plans to update ng2-charts to support the chart.js 3.0 release.

Thank you.

Most helpful comment

hello, any news on charjs v3?

Have a look at PR https://github.com/valor-software/ng2-charts/pull/1276
The Chart.js team has just released rc.2, and work has been done on the datalabels and annotation plugins (on which this library depends on) to make them compatible. Only a couple of visual tests are now failing (mostly related to the annotation plugin), but I expect to be able to quickly fix everything after the final 3.0 version of chart.js is out.

All 16 comments

It would be nice to upgrade to charts.js 3.0

Copy that!

@santam85 do you think you can handle this? :)

@paviad sure thing! If you can get me access to the applitools project (even readonly) It would help a lot to reduce regressions though...

@santam85 Can we just create new applitools workspace and ditch the old one? Not getting any response from the owner @valorkin

Sure we can, we'd loose any baseline comparison though, and there is a cost involved if we want a plan that allows access to multiple people as a team

Quick update here: I have a working version of the library updated to Chart.js 3.0 beta 3
Will push the WIP to a branch soon for review, because some small changes to the APIs were needed due to breaking changes in Chart.js

@santam85 well done!

Any update on this issue?

Sorry, I did not recognize this issue. Please close #1292 and thanks a lot for working on this!

hello, any news on charjs v3?

hello, any news on charjs v3?

Have a look at PR https://github.com/valor-software/ng2-charts/pull/1276
The Chart.js team has just released rc.2, and work has been done on the datalabels and annotation plugins (on which this library depends on) to make them compatible. Only a couple of visual tests are now failing (mostly related to the annotation plugin), but I expect to be able to quickly fix everything after the final 3.0 version of chart.js is out.

3.0 is released :smiley:

Is it safe to use the dev-3 branch? The PR seems approved.

Is it safe to use the dev-3 branch? The PR seems approved.

@vibonacci not all dependencies have a stable and released Chart.js v3.0 compatible version (datalabel and financial charts), but in general what's on the branch works correclty.
I am in the process of getting it released under the next tag, while I finish up documentation work and the transitive deps release a final version.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

Maistho picture Maistho  路  3Comments

dslima90 picture dslima90  路  3Comments

RKornu picture RKornu  路  3Comments

martinpinto picture martinpinto  路  3Comments

tssobe picture tssobe  路  4Comments