ReferencexLabel

<xLabel>

<xLabel> is a Graphical component that specifies a label for the horizontal axis on a <graph>.

Attributes and Properties

Attributes for <xLabel>
AttributeTypeValues
anchor = "…"point
draggable = "…"boolean"true" "false"
forObject = "…"
layer = "…"number
positionFromAnchor = "…"text"upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center"
Props for <xLabel name="x">
PropertyType
$x.anchorpoint
$x.backgroundColortext
$x.disabledboolean
$x.draggableboolean
$x.fixedboolean
$x.fixLocationboolean
$x.hasLatexboolean
$x.hiddenboolean
$x.latexlatex
$x.layernumber
$x.positionFromAnchortext
$x.texttext
$x.textColortext
$x.textStyleDescriptiontext
$x.valuexLabel

Example: <xLabel> on a <graph>

The <xLabel> component is a child of a <graph>. An <xLabel> can contain text, inline display mathematics ( <m>) or <math> components.


Example: <xLabel> on left side

To change the default right-side position of the <xLabel> to the left side, apply the xLabelPosition attribute within the <graph> definition.