# JSXGraph 1.7.0 Reference

## JavaScript must be enabled in order for you to use JSXGraph and JSXGraph reference. However, it seems JavaScript is either disabled or not supported by your browser.

Class Index | File Index

Elements

Classes

- _global_
- Angle
- Arc
- Arrow
- Arrowparallel
- Axis
- Bisector
- Bisectorlines
- Boxplot
- Button
- Cardinalspline
- Chart
- Checkbox
- Circle
- Circumcenter
- Circumcircle
- CircumcircleArc
- CircumcircleSector
- Comb
- Conic
- Curve
- Curve3D
- CurveDifference
- CurveIntersection
- CurveUnion
- Derivative
- Ellipse
- ForeignObject
- Functiongraph
- Functiongraph3D
- Glider
- Grid
- Group
- Hatch
- Hyperbola
- Image
- ImplicitCurve
- Incenter
- Incircle
- Inequality
- Input
- Integral
- Intersection
- JXG
- JXG.AbstractRenderer
- JXG.Board
- JXG.Board.infobox
- JXG.C
- JXG.CA
- JXG.CanvasRenderer
- JXG.Chart
- JXG.Circle
- JXG.Complex
- JXG.Composition
- JXG.Coords
- JXG.CoordsElement
- JXG.Curve
- JXG.Curve3D
- JXG.Dump
- JXG.EventEmitter
- JXG.Expect
- JXG.ForeignObject
- JXG.GeometryElement
- JXG.GeometryElement3D
- JXG.GeonextParser
- JXG.Group
- JXG.Image
- JXG.JessieCode
- JXG.JSXGraph
- JXG.Legend
- JXG.Line
- JXG.Line3D
- JXG.Math
- JXG.Math.BoxQuadtree
- JXG.Math.Clip
- JXG.Math.Extrapolate
- JXG.Math.Geometry
- JXG.Math.ImplicitPlot
- JXG.Math.IntervalArithmetic
- JXG.Math.Metapost
- JXG.Math.Nlp
- JXG.Math.Numerics
- JXG.Math.Plot
- JXG.Math.Poly
- JXG.Math.Poly.Monomial
- JXG.Math.Poly.Polynomial
- JXG.Math.Poly.Ring
- JXG.Math.ProbFuncs
- JXG.Math.Quadtree
- JXG.Math.Statistics
- JXG.Math.Symbolic
- JXG.NoRenderer
- JXG.Options
- JXG.Plane3D
- JXG.Point
- JXG.Point3D
- JXG.Polygon
- JXG.PrefixParser
- JXG.Server
- JXG.Server.modules
- JXG.Surface3D
- JXG.SVGRenderer
- JXG.Text
- JXG.Ticks
- JXG.Transformation
- JXG.Turtle
- JXG.Util
- JXG.Util.Base64
- JXG.Util.Unzip
- JXG.Util.UTF8
- JXG.View3D
- JXG.VMLRenderer
- JXG.XML
- Label
- Legend
- Line
- Line3D
- Locus
- MajorArc
- MajorSector
- Measurement
- Metapostspline
- Midpoint
- MinorArc
- MinorSector
- mirrorelement
- Mirrorpoint
- NonReflexAngle
- Normal
- Orthogonalprojection
- OtherIntersection
- Parabola
- Parallel
- Parallelogram
- Parallelpoint
- ParametricSurface3D
- Perpendicular
- PerpendicularPoint
- PerpendicularSegment
- Point
- Point3D
- PolarLine
- PolePoint
- Polygon
- PolygonalChain
- RadicalAxis
- Reflection
- ReflexAngle
- RegularPolygon
- Riemannsum
- Sector
- Segment
- Semicircle
- Slider
- Slopefield
- Slopetriangle
- Smartlabel
- Spline
- Stepfunction
- Tangent
- Tapemeasure
- Text
- Ticks
- Tracecurve
- Transformation
- Turtle
- Vectorfield
- Vectorfield3D
- View3D

# Namespace JXG.Server

↳ JXG.Server

JXG.Server namespace holding functions to load JXG server modules.
Defined in: server.js.

Namespace Summary
Constructor Attributes | Constructor Name and Description
--- | ---
| JXG.Server

Field Summary
Field Attributes | Field Name and Description
--- | ---
<private> <static> | JXG.Server.runningCalls Stores all asynchronous calls to server which aren't finished yet.

Method Summary
Method Attributes | Method Name and Description
--- | ---
<static> | JXG.Server.callServer(action, callback, data, sync) The main method of JXG.Server.
<static> | JXG.Server.handleError(data) Handles errors, just a default implementation, can be overwritten by you, if you want to handle errors by yourself.
<static> | JXG.Server.loadModule(module) Loads a module from the server.
<static> | JXG.Server.loadModule_cb(data) Callback for the default action 'load'.

Namespace Detail
JXG.Server
Field Detail
<private> <static> JXG.Server.runningCalls
Stores all asynchronous calls to server which aren't finished yet.
Method Detail
<static> JXG.Server.callServer(action, callback, data, sync)
The main method of JXG.Server. Actually makes the calls to the server and parses the feedback.

Parameters:
{String} action
  Can be 'load' or 'exec'.
{function} callback
  Function pointer or anonymous function which takes as it's only argument an object containing the data from the server. The fields of this object depend on the reply of the server module. See the correspondings server module readme.
{Object} data
  What is to be sent to the server.
{Boolean} sync
  If the call should be synchronous or not.

<static> JXG.Server.handleError(data)
Handles errors, just a default implementation, can be overwritten by you, if you want to handle errors by yourself.

Parameters:
{object} data
  An object holding a field of type string named message handling the error described in the message string.

<static> JXG.Server.loadModule(module)
Loads a module from the server.

Parameters:
{string} module
  A string containing the module. Has to match the filename of the Python module on the server exactly including lower and upper case letters without the file ending .py.

<static> JXG.Server.loadModule_cb(data)
Callback for the default action 'load'.

Parameters:
data

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Feb 14 2024 15:53:29 GMT+0100 (heure normale d’Europe centrale)