predicate
Home > @gooddata/sdk-ui-vis-commons > IColorMapping > predicate
IColorMapping.predicate property
Predicate function which will be called for each entity that will be charted.
Signature:
predicate: IHeaderPredicate;
Remarks
If matched, the color
will assigned to that entity when it is rendered (be it as a bar, column, point, slice etc)