scale.labels.border Object

The border of the labels.

scale.labels.border.color String(default: "black")

The color of the border. Any valid CSS color string will work here, including hex and rgb.

scale.labels.border.dashType String(default: "solid")

The dash type of the border.

"solid"

Specifies a solid line.

"dot"

Specifies a line consisting of dots.

"dash"

Specifies a line consisting of dashes.

"longDash"

Specifies a line consisting of a repeating pattern of long-dash.

"dashDot"

Specifies a line consisting of a repeating pattern of dash-dot.

"longDashDot"

Specifies a line consisting of a repeating pattern of long-dash-dot.

"longDashDotDot"

Specifies a line consisting of a repeating pattern of long-dash-dot-dot.

scale.labels.border.opacity Number (default: 1)

The opacity of the border. By default the border is opaque.

scale.labels.border.width Number(default: 0)

The width of the border.

In this article