Skip to main content

TooltipOptions

Options for a tooltip

Properties​

cornerRadius?​

optional cornerRadius: number

Corner radius for the tooltip. Defaults to 3px.


fill?​

optional fill: string

Fill color. Defaults to white.


font?​

optional font: FontSpec

Optional font for the tooltip.


format​

format: string

The text to display. You can use template syntax to access a few context specific variables - see the docs for a discussion.


outline?​

optional outline: string

Outline color. Defaults to "#999999"


outlineWidth?​

optional outlineWidth: number

Outline width. Defaults to 1.


textColor?​

optional textColor: string

Color for text. Defaults to system default.


timeout?​

optional timeout: number

Time to display the tooltip, in milliseconds, before hiding it. Defaults to 2500. Set this to -1 to have the Tooltip never hide automatically.


valueSuffix?​

optional valueSuffix: string

Optional string to append to values