Skip to content

Type Alias: PatternAttributes ​

ts
type PatternAttributes = Readonly<Record<string, unknown>>;

Experimental

Plotly's pattern attributes (marker.pattern, fillpattern) as in a full trace: shape, size and solidity (numbers), fgcolor and bgcolor (CSS colors) may be arrays (per item); fillmode ('replace' | 'overlay') and fgopacity are single values.

Released under the MIT License.