Interface: SunburstTraceMarkerPattern
Hatch pattern of the sector fill (drawn in screen px, for print and grayscale).
Properties
| Property | Type | Default value | Description |
|---|---|---|---|
bgcolor? | PerPointColor | undefined | Pattern background. Default: the fill color with fillmode: 'overlay', else transparent, or one per sector. |
fgcolor? | PerPointColor | undefined | Pattern color. Default: the fill color with fillmode: 'replace', else white or dark grey, whichever contrasts with bgcolor, or one per sector. |
fgopacity? | number | undefined | Opacity of the pattern color. Default 0.5 with fillmode: 'overlay', else 1. Range: 0 – 1 |
fillmode? | "replace" | "overlay" | "replace" | 'replace': the pattern in the fill color on bgcolor (default transparent) replaces the fill; 'overlay': the pattern is drawn over the fill color, in its contrast color at half opacity by default. |
shape? | PerPoint<"" | "/" | "\" | "x" | "-" | "|" | "+" | "."> | "" | Hatch shape: diagonal ('/', '\\', 'x'), horizontal and vertical ('-', `' |
size? | PerPointNumber | 8 | Size of the pattern's tiles in CSS px: the spacing of its lines or dots, or one per sector. Minimum: 0 |
solidity? | PerPointNumber | 0.3 | Fraction of the area the pattern covers: 0 shows only the background, 1 only the pattern color, or one per sector. Range: 0 – 1 |