Box
Map
Vue
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Sankey - tooltip.border

Configures a tooltip's border.

Type:

Object

color

Colors a tooltip's border.

Type:

String

Default Value: '#d3d3d3'

This property supports the following colors:

dashStyle

Specifies the dash style of a tooltip's border.

Type:

String

Default Value: 'solid'
Accepted Values: 'dash' | 'dot' | 'longDash' | 'solid'

The following dash styles are available:

  • solid
    The border is a solid, continuous line.

  • longDash
    The border is displayed using long dashes.

  • dash
    The border is displayed using dashes.

  • dot
    The border is displayed using dots.

  • Any combination of 'longDash', 'dash' and 'dot'
    The border is displayed by repeating the specified combination. For instance, 'dashdotdash'.

opacity

Specifies the transparency of a tooltip's border.

Type:

Number

Default Value: undefined

This property accepts a value from 0 to 1, where 0 makes the border completely transparent, and 1 makes it opaque.

visible

Specifies whether a tooltip's border is visible.

Type:

Boolean

Default Value: true

width

Specifies the width of a tooltip's border in pixels.

Type:

Number

Default Value: 1