chartjs-chart-timeline icon indicating copy to clipboard operation
chartjs-chart-timeline copied to clipboard

Support Chart.js 3.0

Open Rio517 opened this issue 4 years ago • 3 comments

Now that chart.js is on beta 5 and the team says that there will be no new releases of the 2.x, it might make sense to add support for the 3.x version.

The developer migration guide is here: https://www.chartjs.org/docs/next/getting-started/v3-migration/#developer-migration

Unfortunately, it does look like there are some significant changes. Including Chart.scaleService was replaced with Chart.registry. Scale defaults are now in Chart.defaults.scales[type].

Thanks for all your hard work!

Rio517 avatar Nov 03 '20 13:11 Rio517

Quick question so on my x axis will change on its by default depending on the dates that are put in. Is there a way I can make the x-axes show all 24hours only. Example: 00, 01, 02, 03, 04, 05, 06, 07, 08, 09, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22, 23, 24

diegomarquez-real avatar Nov 04 '20 16:11 diegomarquez-real

I tried to add support for 3.0, but its still WIP and not working for now. Currently I don't have enough time to fixing it for 3.0.

[WIP]https://github.com/fanthos/chartjs-chart-timeline/tree/chartjs-3.0

fanthos avatar Nov 17 '20 05:11 fanthos

Updated link to the migration guide:

https://www.chartjs.org/docs/3.0.2/getting-started/v3-migration.html

akteigland avatar Apr 27 '21 16:04 akteigland