Legend.border
configurationThe border of the legend.
legend.border
Objectlegend.border.color
StringThe color of the border. Accepts a valid CSS color string, including hex and rgb.
legend.border.dashType
StringThe dash type of the border.
The following dash types are supported:
- "dash" - a line consisting of dashes
- "dashDot" - a line consisting of a repeating pattern of dash-dot
- "dot" - a line consisting of dots
- "longDash" - a line consisting of a repeating pattern of long-dash
- "longDashDot" - a line consisting of a repeating pattern of long-dash-dot
- "longDashDotDot" - a line consisting of a repeating pattern of long-dash-dot-dot
- "solid" - a solid line
Default: "solid"
legend.border.width
NumberThe width of the border in pixels. By default the border width is set to zero which means that the border will not appear.
Default: 0