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.