Commit Graph

36 Commits

Author SHA1 Message Date
David Monllao 9e313e798f MDL-51784 general: Adding missing php4 style constructors
Adding them to warn people calling the php4 constructor.
2015-12-11 14:02:42 +08:00
Marina Glancy c4d0b752a2 MDL-51784 various: use __construct() for PHP7 compatibility 2015-12-11 12:48:24 +08:00
Nadav Kavalerchik 94e2dc1daf MDL-19270 - Quiz graph - Fix reverse display of Hebrew legend text in RTL mode 2014-07-09 14:57:31 +03:00
Petr Škoda 2f1e464a88 MDL-40438 migrate all collatorlib:: and textlib:: uses 2013-08-06 21:04:35 +02:00
Petr Skoda f8311defeb MDL-31301 use static textlib methods 2012-03-03 11:46:13 +01:00
Petr Skoda 78bfb562a0 MDL-21249 improved php docs and adding direct access prevention in core libs 2010-07-25 13:35:05 +00:00
Tim Hunt 085e842a35 graphlib MDL-21371: Legend layout issue when different legend texts had different heights. 2010-01-18 15:24:13 +00:00
Tim Hunt 2d0d78befd graphlib - MDL-20855 fix alignemnt issue with the x-axis.
Labels with a descender (e.g. May) appeared lower than ones without (e.g. Jun).
Text is drawn baseline aligned, not bottom aligned,and so the code was computing the position wrongly.
2009-11-19 16:56:47 +00:00
Petr Skoda 117bd74897 MDL-20700 coding style cleanup - cvs keywords removed, closign php tag removed, trailing whitespace cleanup 2009-11-01 11:31:16 +00:00
tjhunt be1463394f graphlib: NOBUG previous Moodle-specific hack had a bug when y_max was very small. This would round, e.g. 10^-5 to 0 which would break the axis. 2009-10-06 17:49:47 +00:00
samhemelryk aaeba37197 lib MDL-19236 Corrected PhpDoc 2009-05-26 06:57:19 +00:00
jmg324 d42342f2a3 MDL-15183 defaulting a couple of variables in the graph class rather than every graph object needing to do it. 2008-06-11 08:22:38 +00:00
jmg324 73ee9fd8f9 MDL-15183 reverting previous change 2008-06-09 10:09:29 +00:00
skodak 223f34f6b4 fixed incorrect merging 2008-06-06 13:58:00 +00:00
jmg324 26925762b8 init_y_axis parameter not set up correctly 2008-06-06 08:50:45 +00:00
nicolasconnault b9b17c8a30 Indenting the code properly 2008-05-19 05:20:48 +00:00
skodak 810944af7f we are going 100% unicode now - removed use of $CFG->unicodedb and current_charset(); MDL-7439 - part 2, only hotpot and wiki left 2006-11-11 17:23:20 +00:00
skodak 9c1cd39de5 Bug #5937 - Fix nonascii chars in graphs:
* text is converted to unicode - no html entities anymore
 * then all nonascii chars are converted to decimal number entites
 * default.ttf is searched in dataroot/lang and local language packs too
 * removed lang_decode() - obsoleded by proper entity converison above
 * updated documentation in lang/en_utf8/fonts/README.txt

merged from MOODLE_16_STABLE
2006-06-29 21:22:16 +00:00
stronk7 768cf7d5d1 Now graphlib also works with ttf fonts installed under
moodledata/lang dir. Rest of functionality not modified.
2006-04-05 23:03:18 +00:00
moodler 01dc6ab67a Various little tweaks here and there 2005-03-11 14:56:34 +00:00
gustav_delius dcb1bd3c9a towards XHTML compliance 2004-09-12 13:21:01 +00:00
gustav_delius 78d7fa79cf implemented a provisional hack by roger to avoid division by zero reported in bug 1231. 2004-05-08 21:27:33 +00:00
moodler b3fc547b68 Allow a big catch-all Unicode font to be placed in lib/default.ttf
eg ftp://ftp.netscape.com/pub/communicator/extras/fonts/windows/Cyberbit.ZIP
2004-04-28 15:39:32 +00:00
moodler 6ebd2c691b Uses iconv by default to convert texts into UTF-8 to keep GD happier. 2004-04-28 14:18:25 +00:00
moodler 8fad496688 Still trying to get this retun situation sorted out 2003-05-26 02:42:49 +00:00
moodler c451c1f6bd Removed mystery character? 2003-05-26 02:40:26 +00:00
moodler c8ddb345b9 DOS format 2003-05-26 02:32:11 +00:00
moodler d60131c3c9 Changes to use fonts in language packs, and also to use a language
decoding function if necessary
2003-01-21 09:17:10 +00:00
moodler f6e653e06a Moved fonts into language pack so that other languages can have
proper displays in graphs
2003-01-21 07:27:01 +00:00
moodler 47f1da80d0 More little fixups for robustness 2002-12-30 05:13:43 +00:00
martin 4c26ac16d3 Orange 2002-08-14 05:58:36 +00:00
martin fb8418d9bc Added some new colours 2002-08-14 05:27:35 +00:00
martin f21a723827 If the array y_tick_labels is defined, then these are used instead of
numbers on the left-hand y-axis.  See mod/survey/graph.php for usage.
2002-04-13 02:49:21 +00:00
martin c4bb2bd0ee Added "$factor = round($factor * 1000.0) / 1000.0;"
to function find_range ... it fixes some strange rounding
errors that were happening with Moodle surveys.
2002-04-12 13:20:17 +00:00
martin b6d402a6d6 No functional changes, just fixed comments to make the Moodle mods clearer. 2001-12-01 09:47:30 +00:00
martin f9903ed0a4 Initial revision 2001-11-22 06:23:56 +00:00