Skip to content

Vizzu-Story / Exports / Vizzu / Styles / MarkerLabel

Interface: MarkerLabel

Vizzu.Styles.MarkerLabel

Properties for marker label.

Hierarchy

Properties

angle

Optional angle: Angle

Additional rotation of the label.

Inherited from

OrientedLabel.angle


backgroundColor

Optional backgroundColor: Color

The background color of the displayed text.

Inherited from

OrientedLabel.backgroundColor


color

Optional color: Color

The color of the displayed text.

Inherited from

OrientedLabel.color


filter

Optional filter: ColorTransform

Defines the transformation used for calculating the label color from the marker color.


fontFamily

Optional fontFamily: string

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

Inherited from

OrientedLabel.fontFamily


fontSize

Optional fontSize: Length

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

Inherited from

OrientedLabel.fontSize


fontStyle

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

The style of the font.

Inherited from

OrientedLabel.fontStyle


fontWeight

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

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

Inherited from

OrientedLabel.fontWeight


format

Optional format: "measureFirst" | "dimensionsFirst"

Sets the order of values on the label if both a measure and a dimension are present.


maxFractionDigits

Optional maxFractionDigits: number

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

Inherited from

OrientedLabel.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 (e.g. 1 234 567), 'prefixed' uses scientific notation (e.g. 1.234k).

Inherited from

OrientedLabel.numberFormat


numberScale

Optional numberScale: string

Number scale used for prefixed number format.

Inherited from

OrientedLabel.numberScale


orientation

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

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

Inherited from

OrientedLabel.orientation


paddingBottom

Optional paddingBottom: Length

Bottom padding of the element.

Inherited from

OrientedLabel.paddingBottom


paddingLeft

Optional paddingLeft: Length

Left padding of the element.

Inherited from

OrientedLabel.paddingLeft


paddingRight

Optional paddingRight: Length

Right padding of the element.

Inherited from

OrientedLabel.paddingRight


paddingTop

Optional paddingTop: Length

Top padding of the element.

Inherited from

OrientedLabel.paddingTop


position

Optional position: "center" | "left" | "right" | "top" | "bottom"

The label position relatively to the marker.


textAlign

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

The alignment of the displayed text.

Inherited from

OrientedLabel.textAlign