Histogram in Quiz Results page

Histogram in Quiz Results page

by Caryl Gordon -
Number of replies: 1

Quiz with with 10 questions and worth 10 points. The histogram at the bottom shows the following grades, but why is there a row for 1-1 and 1-2, and 1-3, 1-4, etc. along the x axis? Shouldn't there only be entries for 0 - 1, 1- 2, 3- 4, etc? See attached graphic. 


Thanks for any explanations!

Caryl Gordon

UNC Charlotte





Attachment Histogram.png
Average of ratings: -
In reply to Caryl Gordon

Re: Histogram in Quiz Results page

by Tim Hunt -
Picture of Core developers Picture of Documentation writers Picture of Particularly helpful Moodlers Picture of Peer reviewers Picture of Plugin developers

A lot of the mystery is caused by the fact you have chosen to show the quiz grade rounded to the nearest whole number. Behind the scenes there will be some decimal points involved, but they are not shown.

I suppose we ought to make the graph drawing code more intelligent when it decides what axis to use.