JSXGraph

Filters ::: filter_jsxgraph
Maintained by Andreas Walter
JSXGraph is a cross-browser JavaScript library for interactive geometry, function plotting, charting, and data visualization in the web browser. This is a plugin for Moodle to enable function plotting and dynamic geometry constructions with JSXGraph within a Moodle platform. Using the JSXGraph filter makes it a lot easier to embed JSXGraph constructions into Moodle online documents, e.g. in contents like page, quiz, link,...

JSXGraph v1.1.0-improved2

Moodle 2.9, 3.0, 3.1, 3.2, 3.3, 3.4, 3.5, 3.6, 3.7, 3.8, 3.9
Released: Sunday, 13 September 2020, 8:08 PM

There was a problem with the redefinition of a function, as Moodle embeds some PHP files more than once. This error is now prevented in the new version.

Previous release notes:

Watch out, watch out! In this new version of our Moodle filter, we have prepared a whole series of innovations for you.

Brand new is an extension for the Formulas question type. It is used to insert JSXGraph constructions in formulas questions. It supplies the transfer of values between the formulas question and JSXGraph constructions. For this purpose, a Javascript class JSXQuestion was introduced. You can read about the use of the extension here: moodleformulas_jsxgraph. The loading of the library files can be deactivated via global settings.

In addition, it is no longer necessary to encapsulate the JavaScript code in a function within the JSXGraph tag. This means that the surrounding (function () {...}) () is omitted. (Of course, existing constructions continue to work with it.)

The use of the constant BOARDID is being developed further. Old constructions are of course still supported.

We now recommend using JSXGraph 1.1.0 (which is also supplied with this filter). The version of our filter will from now on also be displayed in the global settings. If you have any questions, please always include them.

We are preparing for JSXGraph version 1.2.0. New there: the board supports attributes title and description, which are used to set the properties aria-labelledby and aria-describedby for the board. We now support the tag attributes title and description in the filter.

Some code adjustments were necessary to pass the Moodle code pre-checks.

But now: Have fun with our new filter!

Version information

Version build number
2020091300
Version release name
v1.1.0-improved2
Can be updated to
v1.1.0-multiple (2020101600)
Maturity
Stable version
MD5 Sum
5fd83a3052bae088c5b692514c4f0b7e
Supported software
Moodle 2.9, Moodle 3.0, Moodle 3.1, Moodle 3.2, Moodle 3.3, Moodle 3.4, Moodle 3.5, Moodle 3.6, Moodle 3.7, Moodle 3.8, Moodle 3.9

Version control information

Version control system (VCS)
GIT
VCS repository URL
VCS branch
master
VCS tag
v1.1.0-improved2

Default installation instructions for plugins of the type Filters

  1. Make sure you have all the required versions.
  2. Download and unpack the filter plugin.
  3. Place the folder (eg "myfilter") in the "filter" subdirectory.
  4. Visit http://yoursite.com/admin to finish the installation