Skip to content

Vizzu / Modules / vizzu / Styles / OrientedLabel

Interface: OrientedLabel

vizzu.Styles.OrientedLabel

Hierarchy

Properties

angle

Optional angle: Angle

Additional rotation of the label.


backgroundColor

Optional backgroundColor: Color

The background color of the displayed text.

Inherited from

Label.backgroundColor


color

Optional color: Color

The color of the displayed text.

Inherited from

Label.color


fontFamily

Optional fontFamily: string

The family of the font. If not set, it inherits the root style font family.

Inherited from

Label.fontFamily


fontSize

Optional fontSize: Length

The size of the font. Percentage values are relative to the root style font size

Inherited from

Label.fontSize


fontStyle

Optional fontStyle: "normal" | "italic" | "oblique"

The style of the font.

Inherited from

Label.fontStyle


fontWeight

Optional fontWeight: number | "bold" | "normal"

The weight of the font, numbers use the same scale as CSS.

Inherited from

Label.fontWeight


maxFractionDigits

Optional maxFractionDigits: number

The maximum number of digits in fraction part if the text contains a number.

Inherited from

Label.maxFractionDigits


numberFormat

Optional numberFormat: "none" | "grouped" | "prefixed"

The format of the number. Only applicable for texts showing numerical data such as marker and axis labels. 'grouped' uses thousand separators, 'prefixed' uses scientific notation.

Inherited from

Label.numberFormat


numberScale

Optional numberScale: string

Number scale used for prefixed number format.

Inherited from

Label.numberScale


orientation

Optional orientation: "normal" | "horizontal" | "vertical" | "tangential"

Orientation of the label relatively to the axis or marker it is attached to.


paddingBottom

Optional paddingBottom: Length

Bottom padding of the element.

Inherited from

Label.paddingBottom


paddingLeft

Optional paddingLeft: Length

Left padding of the element.

Inherited from

Label.paddingLeft


paddingRight

Optional paddingRight: Length

Right padding of the element.

Inherited from

Label.paddingRight


paddingTop

Optional paddingTop: Length

Top padding of the element.

Inherited from

Label.paddingTop


textAlign

Optional textAlign: "center" | "left" | "right"

The alignment of the displayed text.

Inherited from

Label.textAlign