All docs
V18.2
24.1
The page you are viewing does not exist in version 24.1.
23.2
The page you are viewing does not exist in version 23.2.
23.1
The page you are viewing does not exist in version 23.1.
22.2
The page you are viewing does not exist in version 22.2.
22.1
The page you are viewing does not exist in version 22.1.
21.2
The page you are viewing does not exist in version 21.2.
21.1
The page you are viewing does not exist in version 21.1.
20.2
The page you are viewing does not exist in version 20.2.
20.1
The page you are viewing does not exist in version 20.1.
19.2
19.1
18.2
18.1
17.2
A newer version of this page is available. Switch to the current version.

JavaScript/jQuery Sparkline - tooltip.border

Configures a tooltip's border.

Type:

Object

color

Colors a tooltip's border.

Type:

String

Default Value: '#d3d3d3'

This option 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 values are available:

  • solid
    Displays the border as a solid, continuous line.
  • longDash
    Displays the border using long dashes.
  • dash
    Displays the border using dashes.
  • dot
    Displays the border using dots.
  • Any combination of 'longDash', 'dash' and 'dot'
    Displays the border by repeating the specified combination. For instance, 'dashdotdash'.

Use the DashStyle enum to specify this option when the widget is used as an ASP.NET MVC Control. This enum accepts the following values: Solid, LongDash, Dash, and Dot.

opacity

Specifies the transparency of a tooltip's border.

Type:

Number

Default Value: undefined

This option 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