Graph Stats Block, Updated for Moodle 2.6