Package org.pepstock.charba.client.treemap
Contains all classes to activate the TreeMap controller (AKA
chartjs-chart-treemap.js
) for CHART.js.- Author:
- Andrea "Stock" Stocchero
-
Class Summary Class Description Captions The captions can control if and how a caption, to represent the group of the chart, can be shown in the rectangle,Dividers The treemap data set allows to specify the values for displaying hierarchical data using nested rectangles.Labels The labels can control if and how a label, to represent the data, can be shown in the rectangle.TreeMapChart A treemap chart is used for displaying hierarchical data using nested rectangles.
Treemaps display hierarchical (tree-structured) data as a set of nested rectangles.
Each branch of the tree is given a rectangle, which is then tiled with smaller rectangles representing sub-branches.
A leaf node's rectangle has an area proportional to a specified dimension of the data.
When the color and size dimensions are correlated in some way with the tree structure, one can often easily see patterns that would be difficult to spot in other ways, such as whether a certain color is particularly relevant.
A second advantage of treemaps is that, by construction, they make efficient use of space.TreeMapDataPoint Used for treemap datasets.TreeMapDataset The treemap data set allows to specify the values for displaying hierarchical data using nested rectangles.TreeMapOptions Specific options for treemap chart.