ITreemapBucketProps
export interface ITreemapBucketProps
Properties
Property | Modifiers | Type | Description |
|---|---|---|---|
(Optional) Specify filters to apply on the data to chart. | |||
Specify one or more measures whose values will be used to create the treemap rectangles. | |||
any | (Optional) Resolution context for composed placeholders. | ||
(Optional) Specify an attribute, whose values will be used to segment the rectangles created for the measures or the combination of measure and viewBy attribute values. | |||
(Optional) Specify an attribute whose values will be used to slice the measure. |
Property details
ITreemapBucketProps.filtersproperty
Specify filters to apply on the data to chart.
filters?: NullableFiltersOrPlaceholders;
ITreemapBucketProps.measuresproperty
Specify one or more measures whose values will be used to create the treemap rectangles.
measures: AttributesMeasuresOrPlaceholders;
ITreemapBucketProps.placeholdersResolutionContextproperty
Resolution context for composed placeholders.
placeholdersResolutionContext?: any;
ITreemapBucketProps.segmentByproperty
Specify an attribute, whose values will be used to segment the rectangles created for the measures or the combination of measure and viewBy attribute values.
segmentBy?: AttributeOrPlaceholder;
Remarks
Segmenting essentially adds another level into the hierarchy.
ITreemapBucketProps.viewByproperty
Specify an attribute whose values will be used to slice the measure.
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.