colorMapping
Home > @gooddata/sdk-ui-charts > IChartConfig > colorMapping
IChartConfig.colorMapping property
Specify custom coloring.
Signature:
colorMapping?: IColorMapping[];
Remarks
This is done using (predicate, color) pairs. The different entities to chart (e.g. data point, or a measure slice for particular attribute value) will be evaluated against the predicates. The color will be associated in first-found approach.