Class pvc.options.visualRoles.TreemapPlotVisualRoles
Extends
BasicPlotVisualRoles.
Constructor Attributes | Constructor Name and Description |
---|---|
The visual roles options class of the treemap plot type.
|
Field Attributes | Field Name and Description |
---|---|
Visual Roles | |
The
category visual role is a plot-level visual role that
allows grouping data points to form a hierarchy.
|
|
The
color visual role is a plot-level visual role that
is visually encoded by the color of visual elements.
|
|
The
size visual role is a plot-level visual role that
is visually encoded by the relative area amongst sibling-leaf rectangles.
|
The category visual role automatically binds to every dimension whose name has the category prefix.
The visual role is required ad discrete.
See pvc.options.VisualRole for more information on supported data types.
The color visual role automatically binds to every dimension whose name has the color prefix or, if none exists, the dimensions of the category role.
The color visual role is optional and discrete.
See pvc.options.VisualRole for more information on supported data types.
The size visual role accepts zero or more numeric dimensions and automatically binds to a single numeric dimension whose name has the size prefix.
When bound to more than one dimension, the special sizeRole.dim discriminator dimension can be used to control the behaviour:
- Bind at least one of the discrete visual roles multiChart or category to sizeRole.dim, to make it that a single measure dimension is ultimately represented by plots.
- Don't bind the sizeRole.dim, to any of the discrete visual roles, to make the plots represent the sum of the measure dimensions.
See pvc.options.VisualRole for more information on supported data types.