GoodData.UI API reference
  • All Products
  • All Products
  • GoodData.UI
  • API Reference
  • University
  • Community
  • Documentation
  • Support
  • 11.18.0
  • Code samples
  • GitHub

color

Home > @gooddata/sdk-ui-geo > IGeoLayerBase > color

IGeoLayerBase.color property

Color measure or attribute for this layer.

Signature:

color?: IAttributeOrMeasure;

Remarks

When a measure is provided, colors are determined by the measure values using a color scale (gradient). When an attribute is provided, colors are assigned categorically based on attribute values.

For pushpin layers, this affects the fill color of the markers. For area layers, this affects the fill color of the regions.

  • IGeoLayerBase.color property
  • Remarks
GoodData resources:
  • Documentation
Follow the community:
  • Community
Copyright © 2007–2026 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