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

Pie charts do not display the data label in the tooltip

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.5, 3.3.2
    • 3.2.4, 3.3.1, 3.4
    • Libraries
    • MOODLE_32_STABLE, MOODLE_33_STABLE, MOODLE_34_STABLE
    • MOODLE_32_STABLE, MOODLE_33_STABLE
    • MDL-59790-master
    • Hide
      1. Visit http://YOURMOODLE.moodle.com/integration_master/lib/tests/other/chartjstestpage.php
      2. Hover over the pie and doughnut charts.
      3. Make sure thevalues tooltip displays the year, then data category & value in different line.
      4. The year should match the legend.
      5. Go over the rest of chart types. Ensure their values tooltips are consistent (multiline, first the legend then the category and value...).
      Show
      Visit http://YOURMOODLE.moodle.com/integration_master/lib/tests/other/chartjstestpage.php Hover over the pie and doughnut charts. Make sure thevalues tooltip displays the year, then data category & value in different line. The year should match the legend. Go over the rest of chart types. Ensure their values tooltips are consistent (multiline, first the legend then the category and value...).

      While working on MDLSITE-4399 I noticed a small bug in our charts API.

      1. Go to lib/tests/other/chartjstestpage.php
      2. Hover over coloured data in the pie or doughnut chart
      3. Expected: In the tooltip, there should be labels with the year displayed
      4. Actual: Only the value is displayed

      I was trying to debug this shortly but did not find anything obvious that could cause this. When the chart type is changed to, say, bars, the labels are displayed correctly.

            lameze Simey Lameze
            mudrd8mz David Mudrák (@mudrd8mz)
            Luca Bösch Luca Bösch
            Eloy Lafuente (stronk7) Eloy Lafuente (stronk7)
            David Monllaó David Monllaó
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved:

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