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

Upgrade Chart.js to 3.8.0

XMLWordPrintable

    • MOODLE_400_STABLE
    • MOODLE_401_STABLE
    • Hide
      1. Go to Site administration > Development > Third party libraries and make sure Chart.js is listed with 3.8.0 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 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 do actions with all diferents 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 3.8.0  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 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 do actions with all diferents charts (show/hide data series, click on show chart data ).

      Chart.js (/lib/amd/src/chartjs-lazy.js) 2.9.4 --> 3.8.0 : https://github.com/chartjs/Chart.js/releases

       
       

        1. Screenshot from 2022-07-20 13-39-27.png
          Screenshot from 2022-07-20 13-39-27.png
          55 kB
        2. Screenshot from 2022-07-20 13-39-17.png
          Screenshot from 2022-07-20 13-39-17.png
          50 kB
        3. screenshot-1.png
          screenshot-1.png
          182 kB
        4. image-2022-06-14-17-30-02-251.png
          image-2022-06-14-17-30-02-251.png
          31 kB
        5. image-2022-05-17-09-08-42-950.png
          image-2022-05-17-09-08-42-950.png
          56 kB
        6. image-2022-05-17-09-06-41-163.png
          image-2022-05-17-09-06-41-163.png
          47 kB
        7. image-2022-05-17-08-39-02-072.png
          image-2022-05-17-08-39-02-072.png
          20 kB
        8. image-2022-05-17-08-37-57-005.png
          image-2022-05-17-08-37-57-005.png
          20 kB
        9. 4_MDL-71708.png
          4_MDL-71708.png
          61 kB
        10. 2-4_MDL-71708.png
          2-4_MDL-71708.png
          99 kB
        11. 2-3_MDL-71708.png
          2-3_MDL-71708.png
          185 kB
        12. 2-2_MDL-71708.png
          2-2_MDL-71708.png
          160 kB
        13. 2-1_MDL-71708.png
          2-1_MDL-71708.png
          131 kB

            carlos.castillo@moodle.com Carlos Castillo
            sarjona Sara Arjona (@sarjona)
            Laurent David Laurent David
            Ilya Tregubov Ilya Tregubov
            John Edward Pedregosa John Edward Pedregosa
            Votes:
            2 Vote for this issue
            Watchers:
            12 Start watching this issue

              Created:
              Updated:
              Resolved:

                Estimated:
                Original Estimate - 0 minutes
                0m
                Remaining:
                Remaining Estimate - 0 minutes
                0m
                Logged:
                Time Spent - 3 weeks, 2 days, 1 hour, 11 minutes
                3w 2d 1h 11m

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