graph » options » multiGuide » label

label

[ root » graph » options » multiGuide » label]

Use the label object to style the label of the multiguide.


AttributeTypeInfo
alignString

Sets the text's horizontal alignment to one of the three applicable values, relative to the object's box.

Default value is "left"

"left" | "center" | "right"

background-color
backgroundColor
String

Sets the background color of the object. Colors can be entered by name (e.g., "red", "blue", "yellow"), in hexadecimal notation (e.g., "#FF0000", "#0000FF", "#FFFF00"), or in RGB notation (e.g., "rgb(255,0,0)", "rgb(0,0,255)", "rgb(255,255,0)").

One color will set a solid background color; two colors will, by default, create a horizontal gradient. For more complex gradients, use gradient-colors and gradient-stops.

Default value is "#fff #ccc"

"none" | "transparent" | "#f00" | "#f00 #00f" | "red yellow" | "rgb(100, 15, 15)" | ...

boldBoolean

Sets whether the text is displayed with bold characters or not.

Default value is "true"

true | false | 1 | 0

border-color
borderColor
String

Sets the border color of the object

Default value is "#333"

"none" | "transparent" | "#f00" | "#f00 #00f" | "red yellow" | "rgb(100, 15, 15)" | ...

border-width
borderWidth
Mixed

Sets the border width of the object

Default value is "1"

4 | "6px" | ...

colorString

Sets the object's font color. Similar to font-color.

Default value is "#000"

"none" | "transparent" | "#f00" | "#f00 #00f" | "red yellow" | "rgb(100, 15, 15)" | ...

font-size
fontSize
Numeric

Sets the font size of the object.

Default value is "10"

12 | "20px" | ...

paddingMixed

Sets the object's padding around the text. Up to four values can be entered to set the padding for all four sides, with the first value affecting the top padding, the second value affecting the right padding, and so on, in a clockwise direction.

Default value is "4 8"

10 | "5px" | "10 20" | "5px 10px 15px 20px" | ...