From b040d7b36f726e7533e4d9ccc753e2c2dd255799 Mon Sep 17 00:00:00 2001 From: Julio Montoya Date: Fri, 16 Mar 2012 18:28:03 +0100 Subject: [PATCH] Minor - trying to add a donut pie with jqplot in the gradebook (all code is commented not happy with results) --- main/gradebook/index.php | 44 ++++++++++++++++--- .../gradebook/lib/fe/gradebooktable.class.php | 27 ++++++++---- 2 files changed, 58 insertions(+), 13 deletions(-) diff --git a/main/gradebook/index.php b/main/gradebook/index.php index 46f986d04e..21202cb9b1 100644 --- a/main/gradebook/index.php +++ b/main/gradebook/index.php @@ -33,8 +33,38 @@ require_once 'lib/fe/userform.class.php'; require_once api_get_path(LIBRARY_PATH).'ezpdf/class.ezpdf.php'; require_once api_get_path(LIBRARY_PATH).'document.lib.php'; +/* +$htmlHeadXtra[] = api_get_css(api_get_path(WEB_LIBRARY_PATH).'javascript/jqplot/jquery.jqplot.min.css'); +$htmlHeadXtra[] = api_get_js('jqplot/jquery.jqplot.min.js'); +$htmlHeadXtra[] = api_get_js('jqplot/plugins/jqplot.donutRenderer.min.js');*/ + $htmlHeadXtra[] = '