JSXGraph API Reference
JSXGraph version 1.13.3, API reference generated 2026-09-29
JSXGraph is a cross-platform library for interactive geometry, function plotting and data visualisation in the web browser. It turns abstract concepts into graphics that can be dragged, animated and explored — for teaching, learning, assessment and research alike.
It covers Euclidean and projective geometry in 2D and 3D, curve and surface plotting, vector fields, implicit curves, differential equations, charts and statistics, and animations. The library is standalone and needs no server-side processing, renders as SVG or canvas, supports multi-touch, symbolic math and MathJax, and lets authors enrich constructions with ARIA attributes and keyboard navigation.
Who this documentation is for
- Building constructions — which parameters exist, which attributes change the behaviour → Elements
- Extending JSXGraph — internal interfaces, private members included → Classes, Namespaces
What this documentation contains
- Usage signatures — every parameter combination
board.create()accepts - Attributes — name, type, default value, own and inherited
- Members, methods, events — the interface of each element
- Live examples — runnable constructions next to their code
- Classes and namespaces — the objects behind the elements
- Source links — every entry points at the line it came from
How to navigate this documentation
- Search — filters all entries as you type
- Elements — grouped by topic: 3D, Circle, Control, Curve, Line, Point, Polygon, Text, Transformation …
- Classes —
JXG.Board,JXG.GeometryElement,JXG.Point… - Namespaces —
JXG,JXG.Math,JXG.Options… - Modules — the source files
Beyond this documentation
- Forum — questions, answers and announcements
- GitHub — source code, releases and issue tracker
- npm — install with
npm install jsxgraphfor use with Node.js or a bundler - Examples database — several hundred ready made constructions, each with its source
- jsFiddle — a prepared sandbox for trying things out without a local setup
Developed at the Center for Mobile Learning with Digital Technology, University of Bayreuth. Dual licensed under the LGPL and the MIT licence — free to use, modify and distribute, commercial use included.