webapp icon indicating copy to clipboard operation
webapp copied to clipboard

Upgrade Chart.js to the latest version

Open nya-elimu opened this issue 3 years ago • 2 comments

See https://www.chartjs.org/ and https://github.com/chartjs/Chart.js/releases

nya-elimu avatar Jul 05 '21 15:07 nya-elimu

Where can find https://github.com/elimu-ai/webapp/blob/master/src/main/webapp/static/css/chart.min-2.8.0.css for new version?? On Documentation I can only see chart.min.js https://www.jsdelivr.com/package/npm/chart.js

Shubham-Vishwakarma avatar Aug 15 '21 07:08 Shubham-Vishwakarma

Where can find https://github.com/elimu-ai/webapp/blob/master/src/main/webapp/static/css/chart.min-2.8.0.css for new version?? On Documentation I can only see chart.min.js https://www.jsdelivr.com/package/npm/chart.js

That's a good question. I don't know how we are meant to import the CSS for version 3.x of the library.

Maybe they changed the way CSS/styling is done when moving from version 2.x? There might be some clues in their migration guides: https://github.com/chartjs/Chart.js/releases/tag/v3.0.0

nya-elimu avatar Aug 15 '21 09:08 nya-elimu