Home > @activeviam/activeui-sdk > OrdinalColorScaleImplementationProperties
OrdinalColorScaleImplementationProperties interface
Provide a set of colors given a set of values. Can be used to associate a particular color to a particular value
Signature:
export interface OrdinalColorScaleImplementationProperties
Properties
Property | Type | Description |
---|---|---|
compute | (values: any[]) => Color[] | Compute the list of values for which a mapping should be found. Can be used to avoid mapping two values to the same color. Will loop cyclically if not enough color provided. |