Uploaded image for project: 'Moodle'
  1. Moodle
  2. MDL-76914

Upgrade Chart.js to the latest version

XMLWordPrintable

    • MOODLE_402_STABLE
    • MOODLE_402_STABLE
    • MDL-76914-master
    • Hide
      1. Go to Site administration > Development > Third party libraries and make sure Chart.js is listed with 4.2.1 as a version number.
      2. Visit http://[local.moodle]/lib/tests/other/chartjstestpage.php and make sure:
        • 11 charts have been generated, one for each chart type: Pie, Doughnut, Tensioned lines, Smooth lines, Bar chart, Horizontal bar, Stacked bars, Bar chart combined with the line, Area fill and Bar chart with legend options (legend left and legend hidden).
      3. Open the Javascript console in the browser's developer tools.
      4. Make sure it does not display any error while doing actions with all different charts (show/hide data series, click on show chart data).
      Show
      Go to Site administration > Development > Third party libraries and make sure Chart.js is listed with 4.2.1 as a version number. Visit http://[local.moodle]/lib/tests/other/chartjstestpage.php and make sure: 11 charts have been generated, one for each chart type: Pie , Doughnut , Tensioned lines , Smooth lines , Bar chart , Horizontal bar , Stacked bars , Bar chart combined with the line , Area fill and Bar chart with legend options (legend left and legend hidden). Open the Javascript console in the browser's developer tools. Make sure it does not display any error while doing actions with all different charts (show/hide data series, click on show chart data ).
    • 2
    • Team Hedgehog Sprint 2.2, Team Hedgehog 2023 Sprint 1.3

      Chart.js    lib/amd/src/chartjs-lazy.js    3.8.0   -->  4.2.1    https://github.com/chartjs/Chart.js

            meirza.arson@moodle.com Meirza
            sarjona Sara Arjona (@sarjona)
            Matt Porritt Matt Porritt
            Ilya Tregubov Ilya Tregubov
            Ron Carl Alfon Yu Ron Carl Alfon Yu
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 1 day, 1 hour, 25 minutes
                1d 1h 25m

                  Error rendering 'clockify-timesheets-time-tracking-reports:timer-sidebar'. Please contact your Jira administrators.