The Tree Map component displays hierarchical data values as a collection of nested tiles (rectangles). It provides an overview of hierarchical data values. Supports the following layouts: Squarified (default), Slice-and-dice horizontal, and Slice-and-dice vertical.
This component is used on tablets and phones.
Appearance characteristics for this component.
Common behaviors for this component.
Usage guidelines for this component.
DVTM sample code for this component.
<dvtm:treemap id="treemap1"
value="#{bindings.treemapData.collectionModel}"
var="row"
animationDuration="#{pageFlowScope.animationDuration}"
animationOnDataChange="#{pageFlowScope.animationOnDataChange}"
animationOnDisplay="#{pageFlowScope.animationOnDisplay}"
layout="#{pageFlowScope.layout}"
nodeSelection="#{pageFlowScope.nodeSelection}"
rendered="#{pageFlowScope.rendered}"
emptyText="#{pageFlowScope.emptyText}"
inlineStyle="#{pageFlowScope.inlineStyle}"
sizeLabel="#{pageFlowScope.sizeLabel}"
styleClass=" dvtm-gallery-component"
colorLabel="#{pageFlowScope.colorLabel}"
sorting="#{pageFlowScope.sorting}"
selectedRowKeys="#{pageFlowScope.selectedRowKeys}"
isolatedRowKey="#{pageFlowScope.isolatedRowKey}"
legendSource="ag1">
<dvtm:treemapNode id="node1"
fillPattern="#{pageFlowScope.fillPattern}"
label="#{row.label}"
labelDisplay="#{pageFlowScope.labelDisplay}"
value="#{row.marketShare}"
labelHalign="#{pageFlowScope.labelHalign}"
labelValign="#{pageFlowScope.labelValign}">
<dvtm:attributeGroups id="ag1"
type="color"
value="#{row.deltaInPosition}"
attributeType="continuous"
minLabel="-1.5%"
maxLabel="+1.5%"
minValue="-1.5"
maxValue="1.5">
<amx:attribute name="color1"
value="#ed6647" />
<amx:attribute name="color2"
value="#f7f37b" />
<amx:attribute name="color3"
value="#68c182" />
</dvtm:attributeGroups>
</dvtm:treemapNode>
</dvtm:treemap>
Fig 1. iOS and Android - Tree Map Squarified
Fig 2. iOS and Android - Tree Map Slice And Dice Horizontal
Fig 3. iOS and Android - Tree Map Slice And Dice Vertical