<yLabel>
<yLabel>
is a Graphical
component that specifies a label for the vertical axis on a <graph>
.
Attributes and Properties
Attribute | Type | Values |
---|---|---|
anchor = "…" | point | |
draggable = "…" | boolean | "true" "false" |
forObject = "…" | ||
layer = "…" | number | |
positionFromAnchor = "…" | text | "upperright" "upperleft" "lowerright" "lowerleft" "top" "bottom" "left" "right" "center" |
Property | Type |
---|---|
$y.anchor | point |
$y.backgroundColor | text |
$y.disabled | boolean |
$y.draggable | boolean |
$y.fixed | boolean |
$y.fixLocation | boolean |
$y.hasLatex | boolean |
$y.hidden | boolean |
$y.latex | latex |
$y.layer | number |
$y.positionFromAnchor | text |
$y.text | text |
$y.textColor | text |
$y.textStyleDescription | text |
$y.value | yLabel |
Example: <yLabel>
on a <graph>
The <yLabel>
component is a child of a <graph>
. A <yLabel>
can contain text, inline display mathematics ( <m>
) or <math>
components.
Example: <yLabel>
on bottom of <graph>
To change the default top position of
the <yLabel>
to the bottom, apply the yLabelPosition
attribute within the <graph>
definition.
Example: Change default <yLabel>
alignment
Use the yLabelAlignment
attribute within the <graph>
definition to
choose between a left alignment and a right alignment for the <yLabel>
. The
default position is left
, which means the label appears to the left
of the vertical axis.