-
Notifications
You must be signed in to change notification settings - Fork 530
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
Upgraded Chart.js to version 4.4.2 #3233
Merged
Merged
Changes from 26 commits
Commits
Show all changes
27 commits
Select commit
Hold shift + click to select a range
ffeef9f
Upgraded Chart.js to v4.4.2
35a348c
Got chart legends to appear again, with incorrect CSS
e940f2d
Fixed major chart legend styling issues
5309640
Added cubic interpolation and gradients back
e90421c
Removed chart variable assignments that caused linting errors
f4eeb50
Changed to local import for Chart.js, Moment.js, and Chart-adapter-Mo…
5a56023
Loaded Chart.js through Django pipeline instead of base.html
0932ef6
Fixed major styling bugs for locale/insights charts
ceda07e
Fixed linting issue in insights_tab
5bdec21
Fixed major styling issues for insights charts
11c7506
Fixed linting errors
3eda4ce
Fixed profile chart styling, clipping issues for all graphs
3b599c4
Fixed formatting issue in Profile.js
291e68f
Fixed styling issues for tooltips on all charts
e30ae90
Fixed tooltip label styling, disabled graphs bug
5c62ae6
fixed rander issue for insights and date formatting
60b514a
linting fixes
5aa5780
Refactored HTML Legend logic
43d8f17
linting fixes
ba5081a
fixed display bug for insights charts
483d471
Changed moment.js to date-fns.js
ab0f3f9
Fixed tooltip import for date-fns and alt-click legned bug
4df1662
Improved line visibility on insights chart, standardized thousands se…
811a555
Implemented review comments, refactored labelColor for tooltips
3ee556b
Refactored logic for changing tooltip label colors
ddbf226
Refactored htmlLegendPlugin logic for better code readability
3729a90
Simplified anonymous function calls for setLabelColor
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
pontoon/base/static/js/lib/chartjs-adapter-date-fns.bundle.min.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You can drop the body braces and the word "return":
The same applies for all other calls of this function.