Interface: LegendItemMarkerOptions
Extends
Properties
color?
optionalcolor?:string
Glyph colour; a bound item inherits the series colour.
cornerRadius?
optionalcornerRadius?:number
'square' only: corner rounding; 3 by default.
Inherited from
LegendMarkerOptions.cornerRadius
lineDash?
optionallineDash?:number[]
Dashes for a 'line' marker.
Inherited from
path?
optionalpath?:string
Custom glyph as SVG path data — wins over shape. Coordinates are taken in a viewBox square and scaled to the marker size, so the same d fits any size.
Inherited from
shape?
optionalshape?:LegendMarkerShape
'square' by default (a rounded square); 'line' draws a dash.
Inherited from
size?
optionalsize?:number
Marker box side; 10 by default (a 'line' marker is drawn 1.8× wider).
Inherited from
stroke?
optionalstroke?:string
Outline colour; without it the glyph is filled only.
Inherited from
strokeWidth?
optionalstrokeWidth?:number
Outline width, and the thickness of a 'line' marker; 1 / theme width by default.
Inherited from
LegendMarkerOptions.strokeWidth
viewBox?
optionalviewBox?:number
Side of the square the path coordinates live in; 24 by default.