-
Notifications
You must be signed in to change notification settings - Fork 523
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Upgraded Chart.js to version 4.4.2 (#3233)
* Upgraded Chart.js to v4.4.2 * Got chart legends to appear again, with incorrect CSS * Fixed major chart legend styling issues * Added cubic interpolation and gradients back * Removed chart variable assignments that caused linting errors * Changed to local import for Chart.js, Moment.js, and Chart-adapter-Moment.js * Loaded Chart.js through Django pipeline instead of base.html * Fixed major styling bugs for locale/insights charts * Fixed linting issue in insights_tab * Fixed major styling issues for insights charts * Fixed linting errors * Fixed profile chart styling, clipping issues for all graphs * Fixed formatting issue in Profile.js * Fixed styling issues for tooltips on all charts * Fixed tooltip label styling, disabled graphs bug * fixed rander issue for insights and date formatting * linting fixes * Refactored HTML Legend logic * linting fixes * fixed display bug for insights charts * Changed moment.js to date-fns.js * Fixed tooltip import for date-fns and alt-click legned bug * Improved line visibility on insights chart, standardized thousands seperator for all locales * Implemented review comments, refactored labelColor for tooltips * Refactored logic for changing tooltip label colors * Refactored htmlLegendPlugin logic for better code readability * Simplified anonymous function calls for setLabelColor --------- Co-authored-by: Harmit Goswami <hgoswami@LH7VKLQY46.local> Co-authored-by: Harmit Goswami <hgoswami@MacBook-Pro.local>
- Loading branch information
1 parent
a3e5252
commit d9679bb
Showing
8 changed files
with
688 additions
and
21,382 deletions.
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.