mirror of
https://github.com/moodle/moodle.git
synced 2025-04-08 01:43:32 +02:00
Merge branch 'MDL-55352-master-fix' of https://github.com/lameze/moodle
This commit is contained in:
commit
346cf5abb9
@ -198,14 +198,14 @@ class feedback_item_multichoicerated extends feedback_item_base {
|
||||
array('noclean' => true, 'para' => false));
|
||||
|
||||
if ($val->quotient > 0) {
|
||||
$strquotient = '('.$quotient.' %)';
|
||||
$strquotient = ' ('.$quotient.' %)';
|
||||
} else {
|
||||
$strquotient = '';
|
||||
}
|
||||
|
||||
$data['labels'][$count] = $answertext;
|
||||
$data['series'][$count] = $val->answercount;
|
||||
$data['series_labels'][$count] = $strquotient;
|
||||
$data['series_labels'][$count] = $val->answercount . $strquotient;
|
||||
$count++;
|
||||
}
|
||||
$chart = new \core\chart_bar();
|
||||
|
Loading…
x
Reference in New Issue
Block a user