PatternsTheme

Type class

"Patterns" — a monochrome, texture-driven theme in the spirit of engraved or newspaper charts: every filled series shares one gray fill overlaid with a distinct white pattern (hatch / dot / star / triangle / grid), so series are told apart purely by texture rather than hue.

Line series (which have no fill for a pattern to attach to) are all gray too and are told apart by stroke width and dash. Because categories are encoded by shape rather than hue, it prints cleanly and stays legible for all forms of color blindness. It layers on the default (light) look.

This is a standalone theme; it does not modify any built-in theme.

Click here for more info
Click here for more info

Sources

This information about PatternsTheme is provided for reference only and is not available through exported packages and thus should not be imported or used on its own.

Inheritance

PatternsTheme extends Theme.

PatternsTheme is not extended by any other symbol.

Settings

PatternsTheme does not have any settings.

Private settings

PatternsTheme does not have any private settings.

Properties

PatternsTheme does not have any properties.

Methods

constructor(

root: Root,
isReal: boolean

)

#

Returns PatternsTheme

Inherited from Theme

new(

root: Root

)

#

Static

Returns InstanceType

Inherited from Theme

Use this method to create an instance of this class.

Click here for more info

rule(

themeClass: K,
themeTags: Array

)

#

Returns Template

Inherited from Theme

Creates a Template for specific theme class and tags.

Click here for more info

ruleRaw(

themeClass: string,
themeTags: Array

)

#

Returns Template

Inherited from Theme

Creates a Template for specific theme class and tags.

NOTE: the difference from rule() is that ruleRaw() does not do any type checks.

Click here for more info

There are 4 inherited items currently hidden from this list.

Events

PatternsTheme does not have any events.