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

Upgrade Chart.js to 2.9.4

XMLWordPrintable

    • MOODLE_311_STABLE
    • MOODLE_311_STABLE
    • MDL-70305-master
    • 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.
    • 3
    • 4.0 holding pattern 10

      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.

       

            peterdias Peter Dias
            sarjona Sara Arjona (@sarjona)
            Paul Holden Paul Holden
            Sara Arjona (@sarjona) Sara Arjona (@sarjona)
            Anna Carissa Sadia Anna Carissa Sadia
            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 hour, 50 minutes
                1h 50m

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