border

Configures the series border (in area-like series) or the series point border (in bar-like and bubble series).

Type:

Object

Declared in commonSeriesSettings, the border settings apply to all series in the chart. Declared in a series configuration object, the border settings apply to this particular series only. The series-specific border settings override the common ones.

color

Colors the series border (in area-like series) or the series point border (in bar-like and bubble series).

Type:

String

Default Value: undefined

This option supports the following colors.

dashStyle

Sets a dash style for the series border (in area-like series) or for the series point border (in bar-like and bubble series).

Type:

String

Default Value: undefined
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

Shows the series border (in area-like series) or the series point border (in bar-like and bubble series).

Type:

Boolean

Default Value: true
NOTE
Setting this option to true takes effect only if you have also set the border | color option.

width

Sets a pixel-measured width for the series border (in area-like series) or for the series point border (in bar-like and bubble series).

Type:

Number

Default Value: 2