React PieChart - series.border

An object defining the series border configuration options.

Type:

Object

To set custom border settings for the series, use the border object within the series configuration object.

color

Sets a border color for a series.

Type:

String

Default Value: undefined

This option supports the following colors:

dashStyle

Specifies a dash style for the border of a series point.

Type:

String

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

The following values are available.

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

When using the widget as an ASP.NET MVC Control, specify this option using the DashStyle enum. This enum accepts the following values: Solid, LongDash, Dash and Dot.

visible

Sets border visibility for a series.

Type:

Boolean

Default Value: false

width

Sets a border width for a series in pixels.

Type:

Number

Default Value: 2