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.InnerData Inner data implementation of the object which is mapping additional data.
Inside this object there is an array of original object used by the user.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.TreeMapDataPoint.TreeMapDataPointFactory CreatesTreeMapDataPoint
form aNativeObject
.TreeMapDataset The treemap data set allows to specify the values for displaying hierarchical data using nested rectangles.TreeMapElement Maps the CHART.JS element used by Treemap controller.TreeMapElementOptions Maps the out-of-the-box CHART.JS element options used to represents boxes for treemap on the charts.TreeMapOptions Specific options for treemap chart.