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

Namespace JXG.Board.infobox


      ↳ JXG.Board.infobox



Defined in: board.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Infobox close to points in which the points' coordinates are displayed.
Attributes Summary
Field Attributes Field Name and Description
 
Horizontal offset in pixel of the infobox text from its anchor point.
 
Vertical offset in pixel of the infobox text from its anchor point.
 
Internationalization support for infobox text.
Namespace Detail
JXG.Board.infobox
Infobox close to points in which the points' coordinates are displayed. This is simply a JXG.Text element. Access through board.infobox. Uses CSS class .JXGinfobox.
Examples:
const board = JXG.JSXGraph.initBoard(BOARDID, {
    boundingbox: [-0.5, 0.5, 0.5, -0.5],
    intl: {
        enabled: false,
        locale: 'de-DE'
    },
    keepaspectratio: true,
    axis: true,
    infobox: {
        distanceY: 40,
        intl: {
            enabled: true,
            options: {
                minimumFractionDigits: 1,
                maximumFractionDigits: 2
            }
        }
    }
});
var p = board.create('point', [0.1, 0.1], {});


				
                
Attribute Detail
{Number} distanceX
Horizontal offset in pixel of the infobox text from its anchor point.
Defined in: options.js.
Default Value:
-20

{Number} distanceY
Vertical offset in pixel of the infobox text from its anchor point.
Defined in: options.js.
Default Value:
25

{object} intl
Internationalization support for infobox text.
Defined in: options.js.
See:
JXG.Board#intl
Text#intl

Documentation generated by JsDoc Toolkit 2.4.0 on Fri Jan 26 2024 08:47:40 GMT+0100 (Mitteleuropäische Normalzeit)