color
Colors the legend's border.
Type:
Default Value: '#d3d3d3'
This property supports the following colors:
- Hexadecimal colors
- RGB colors
- RGBA colors
- Predefined/cross-browser color names
- Predefined SVG colors
- Paint server address
NOTE
Make the legend's border visible by setting the legend.border.visible property to true.
cornerRadius
Makes all the legend's corners rounded.
Type:
Default Value: 0
This property accepts a positive number that defines a quarter ellipse's horizontal and vertical radii which determine the corner's curvature.
dashStyle
Sets a dash style for the legend's border.
Type:
Default Value: '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'.