Namespace JXG.Board.infobox
↳ JXG.Board.infobox
Defined in: board.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Infobox close to points in which the points' coordinates are displayed.
|
| 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], {});
Field Detail
{Number}
distanceX
Horizontal offset in pixel of the infobox text from its anchor point.
Defined in: options.js.
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.
Defined in: options.js.
- Default Value:
- 25
{object}
intl
Internationalization support for infobox text.
Defined in: options.js.
Defined in: options.js.
- See:
- JXG.Board#intl
- Text#intl