Skip to content

grafit-charts


Interface: LegendBackgroundOptions ​

Properties ​

cornerRadius? ​

optional cornerRadius?: number

4 by default.


fill? ​

optional fill?: string


padding? ​

optional padding?: PaddingValue

Inner padding in any CSS-like shorthand — 8, [8, 12], [8, 12, 4, 0] or { top, right, bottom, left }. 8 by default when fill/stroke is set, otherwise 0.


shadow? ​

optional shadow?: ShadowOptions

Drop shadow under the panel; drawn only when the panel has a fill.


stroke? ​

optional stroke?: string


strokeWidth? ​

optional strokeWidth?: number

1 by default when stroke is set.