ng2-charts icon indicating copy to clipboard operation
ng2-charts copied to clipboard

Guide on how to update from v2 to v3

Open sigewuzhere opened this issue 2 years ago • 4 comments

Hello there!

Do you guys know about a guide on how to update from v2.4.3 to v3?

Thanks :)

sigewuzhere avatar May 03 '22 20:05 sigewuzhere

This would be nice! 👍

jmtimper avatar May 11 '22 13:05 jmtimper

The "Stackblitz Starting Templates" all still use v2, for example

OrangeDog avatar May 17 '22 15:05 OrangeDog

There's a migration guide for Chart.js options here: https://www.chartjs.org/docs/latest/getting-started/v3-migration.html

As for this library, the stackblitz examples were updated just recently. Contributions in the form of a migration guide would be very welcome, if someone had some time to compare the old examples with the new ones. For example:

https://stackblitz.com/edit/ng2-charts-line-template

vs

https://stackblitz.com/github/santam85/ng2-charts-line-template?preset=node

santam85 avatar Jul 14 '22 14:07 santam85

Latest migration guide links in case anyone stumbles across this:

  • v2 to v3: https://www.chartjs.org/docs/latest/migration/v3-migration.html
  • v3 to v4: https://www.chartjs.org/docs/latest/migration/v4-migration.html

cvocvo avatar Dec 15 '22 20:12 cvocvo