Add a user-defined scheme
the user-defined scheme
id to refer to the registered scheme
Add a scheme with a hardcoded id
the id
the colormaker
Register a custom scheme
constructor or Colormaker instance
scheme label
id to refer to the registered scheme
Create and a selection-based coloring scheme. Supply a list with pairs of colorname and selection for coloring by selections. Use the last entry as a default (catch all) coloring definition.
cloror-selection pairs
scheme name
id to refer to the registered scheme
Get an description of available scales as an object with id-label as key-value pairs
available scales
Get an description of available schemes as an object with id-label as key-value pairs
available schemes
Check if a scheme with the given id exists
the id to check
flag indicating if the scheme exists
Remove the scheme with the given id
scheme to remove
Generated using TypeDoc
Class for registering Colormakers. Generally use the global {@link src/globals.js~ColormakerRegistry} instance.