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

viewBy

Home > @gooddata/sdk-ui-charts > ITreemapBucketProps > viewBy

ITreemapBucketProps.viewBy property

Specify an attribute whose values will be used to slice the measure.

Signature:

viewBy?: AttributeOrPlaceholder;

Remarks

Treemap will chart one rectangle for each attribute value, these rectangles represent unique entities in the hierarchy, each will be colored uniquely.

Note: treemap only supports viewBy only when measures contains a single measure.

  • ITreemapBucketProps.viewBy 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