To use JSXGraph, you need two files:
- Link the file
jsxgraphcore.jsinto your web pages. This file has been minified using the UglifyJS compressor.
jsxgraphcore.jscontains the complete source code of JSXGraph bundled in one file. All objects of JSXGraph use the namespace
JXGthere are no global variables.
- Include the css commands from
jsxgraph.cssinto the web pages. It is available at http://jsxgraph.uni-bayreuth.de/distrib/jsxgraph.css.
The easiest way to use JSXGraph is to link directly to the public installation available through the Content Distribution Network (CDN) cdnjs. Put the following code into the
<head> block of your document:
The latest JSXGraph version hosted on cdnjs is:
Download the latest version (v0.99.5) from the JSXGraph home page:
The latest development version can always be downloaded/used from http://jsxgraph.uni-bayreuth.de/~michael/jsxgraph-nightly/.
Beware, there may be untested features (bugs)!
- The JSXGraph source code is hosted on GitHub
- Bug tracker
- Join the discussion at Google groups
- JetBrains WebStorm: JetBrains supports the development of JSXGraph with free licenses under their Open Source Support Program.