Pages

Wednesday, March 20, 2013

Giving the Davo Smith's Realtime quiz a pie chart

I've blogged on Davo Smith's excellent Realtime Quiz for Moodle 1.9 before here. Today's post is about my latest enhancement to that plugin - a pie chart to visually show the breakdown of scores. After all, doesn't every table cry out for a pictoral representation like a graph or a chart?

Back in February 2012, I was tinkering around with a pie chart code I found on the Net. Here's what I came up with for the Realtime Quiz for Moodle 1.9.



Seems that the table data is crying out for a chart of sorts to display visually summary information. The pie chart code is by Rasmus http://www.peters1.dk/webtools/php/lagkage.php?sprog=en
You can download the file piechart.zip. It contains the two files, responses.php and piechart.php, which allows the pie chart to appear. Both files, when extracted, should go inside the /mod/realtimequiz folder.

Have fun with this new makeover for Moodle 1.9,
Frankie Kam



.

If you like this post or site
a small donation would be nice but would last only a day,
otherwise leaving a comment (or a compliment) below will last me a month!

No comments:

Post a Comment

Ratings and Recommendations by outbrain