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

segmentBy

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

IGeoLayerBase.segmentBy property

Segment attribute for categorization.

Signature:

segmentBy?: IAttribute;

Remarks

Groups data points by the specified attribute, creating separate visual categories with distinct colors. When segmentBy is used, a category legend is displayed.

For pushpin layers, different segments get different marker colors. For area layers, different segments get different fill colors.

  • IGeoLayerBase.segmentBy 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