Skip to content

Vizzu / Modules / types/styles / Tooltip

Interface: Tooltip

types/styles.Tooltip

Properties for tooltip.

Hierarchy

  • Box

    Tooltip

Properties

arrowSize

Optional arrowSize: number

Base size of the info bubble arrow


backgroundColor

Optional backgroundColor: null | Color

The background color of the element.

Inherited from

Box.backgroundColor


borderColor

Optional borderColor: null | Color

The border color of the element.

Inherited from

Box.borderColor


borderRadius

Optional borderRadius: number

Corner radius for the info bubble


borderWidth

Optional borderWidth: null | number

The border width of the element.

Inherited from

Box.borderWidth


color

Optional color: Color

The foreground color of the tooltip text


distance

Optional distance: number

Distance between the data point and the info bubble


dropShadow

Optional dropShadow: number

Drop shadow distance from the info bubble


fontFamily

Optional fontFamily: null | string

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

Inherited from

Font.fontFamily


fontSize

Optional fontSize: null | Length

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

Inherited from

Font.fontSize


fontStyle

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

The style of the font.

Inherited from

Font.fontStyle


fontWeight

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

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

Inherited from

Font.fontWeight


layout

Optional layout: "singleLine" | "multiLine"

The layout of the tooltip text


radius

Optional radius: number

Data point marker radius


seriesName

Optional seriesName: null | string

Specifies the name of the data series dispalyed at the first position on the tooltip


shadowColor

Optional shadowColor: Color

Color of the drop shadow