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

Upgrade Chart.js to 2.9.4

    XMLWordPrintable

    Details

    • Testing Instructions:
      Hide
      1. Go to Site administration ► Development ► Third party libraries. Confirm that
        Chart.js is listed with a version number of 2.9.4
      2. Visit http://[your.local.moodle.site]/lib/tests/other/chartjstestpage.php and make sure:
        • 11 charts have been generated, one for each chart type: Pie, Doughnut (yummy), 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. Hover over the pie and donut chart.
      5. Make sure it does not display the error that has been reported in the console (from MDL-61218)
      6. Make sure the borders are white, not that ugly grey color.
      Show
      Go to Site administration ► Development ► Third party libraries. Confirm that Chart.js is listed with a version number of 2.9.4 Visit http://[your.local.moodle.site]/lib/tests/other/chartjstestpage.php and make sure: 11 charts have been generated, one for each chart type: Pie , Doughnut (yummy), 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. Hover over the pie and donut chart. Make sure it does not display the error that has been reported in the console (from MDL-61218 ) Make sure the borders are white, not that ugly grey color.
    • Affected Branches:
      MOODLE_311_STABLE
    • Fixed Branches:
      MOODLE_311_STABLE
    • Epic Link:
    • Pull from Repository:
    • Pull 3.11 Branch:
      MDL-70305-311
    • Pull Master Branch:
      MDL-70305-master
    • Story Points:
      3
    • Sprint:
      4.0 holding pattern 10

      Description

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

      See also: MDL-60289
      + check prior regressions.

       

        Attachments

          Issue Links

            Activity

              People

              Assignee:
              peterdias Peter Dias
              Reporter:
              sarjona Sara Arjona (@sarjona)
              Peer reviewer:
              Paul Holden Paul Holden
              Integrator:
              Sara Arjona (@sarjona) Sara Arjona (@sarjona)
              Tester:
              Anna Carissa Sadia Anna Carissa Sadia
              Participants:
              Component watchers:
              Amaia Anabitarte, Carlos Escobedo, Ferran Recio, Ilya Tregubov, Sara Arjona (@sarjona)
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

                Dates

                Created:
                Updated:
                Resolved:
                Fix Release Date:
                17/May/21

                  Time Tracking

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