label border

Configures the borders of point labels.

Type: Object

color

Colors the border.

Type: String
Default Value: '#d3d3d3'

This option supports the following colors.

dashStyle

Specifies the dash style of the border.

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

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'.

visible

Makes the border visible.

Type: Boolean
Default Value: false

width

Specifies the width of the border in pixels.

Type: Number
Default Value: 1