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

border

Specifies border properties for point labels.

Type:

Object

Use this object to make the borders of point labels visible/invisible and set up border properties such as color and width.

color

Specifies a border color for point labels.

Type:

String

Default Value: '#d3d3d3'

This property supports the following colors:

dashStyle

Specifies a dash style for the borders of point labels.

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

visible

Indicates whether or not borders are visible in point labels.

Type:

Boolean

Default Value: false

width

Specifies the border width for point labels.

Type:

Number

Default Value: 1