Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade Chart.js to the latest version #1350

Closed
Tracked by #163
nya-elimu opened this issue Jul 5, 2021 · 2 comments · Fixed by #1854
Closed
Tracked by #163

Upgrade Chart.js to the latest version #1350

nya-elimu opened this issue Jul 5, 2021 · 2 comments · Fixed by #1854
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed

Comments

@nya-elimu
Copy link
Member

nya-elimu commented Jul 5, 2021

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

@nya-elimu nya-elimu added enhancement New feature or request help wanted Extra attention is needed good first issue Good for newcomers labels Jul 5, 2021
@Shubham-Vishwakarma
Copy link
Contributor

@nya-elimu nya-elimu changed the title Upgrade Chart.js to version 3.4.1 Upgrade Chart.js to the latest version Aug 15, 2021
@nya-elimu
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers help wanted Extra attention is needed
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants