A Color Scale maps string values to color hex values expressed as a string.
Adds an IncludedValuesProvider to the Scale.
Sets the Scale's domain so that it spans the Extents of all its ExtentsProviders.
Gets the domain.
The current domain.
Sets the domain.
Removes a callback that would be called when the Scale updates.
Adds a callback to be called when the Scale updates.
Gets the range.
The current range.
Sets the range.
Removes the IncludedValuesProvider from the Scale.
Returns the color-string corresponding to a given string. If there are not enough colors in the range(), a lightened version of an existing color will be used.
Generated using TypeDoc