getColorMappingPredicate()
Home > @gooddata/sdk-ui-vis-commons > getColorMappingPredicate
getColorMappingPredicate() function
Creates new predicate for mapping colors to chart entities:
- if attribute header, URI is expected to match testValue - otherwise (attr or measure descriptor) expecting local identifier match
Signature:
export declare function getColorMappingPredicate(testValue: string): IHeaderPredicate;
Parameters
Parameter | Type | Description |
---|---|---|
testValue | string | right hand side to test against |
Returns: