GoodData.UI API reference
  • GoodData.UI
  • Docs & APIs
  • Developers
  • GoodData.CN
  • GoodData.UI
  • Docs & APIs
  • Get GoodData.CN Community Edition
  • 10.26.0
  • Code samples
  • Gallery
  • GitHub

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)

  • IColorMapping.predicate property
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2025 GoodData Corporation. All Rights Reserved. Code licensed under a dual license - CC BY‑NC 4.0 for trial experience and GoodData.UI EULA for commercial use