Class pvc.options.visualRoles.BarPlotCommonVisualRoles
Extends
CategoricalPlotVisualRoles.
Constructor Attributes | Constructor Name and Description |
---|---|
The visual roles options class of the
bar family plot types.
|
Field Attributes | Field Name and Description |
---|---|
Visual Roles | |
The
category visual role is a plot-level visual role that
represents a generic
logical grouping of the data points
and is visually encoded by grouping bars in
separate bands along the
base axis.
|
|
The
color visual role is a plot-level visual role that
is visually encoded by the color of visual elements.
|
|
The
series visual role is a plot-level visual role that represents a
series of connected data points.
|
|
The
value visual role is a plot-level visual role that
represents its main measure, specifically,
it is visually encoded by the
orthogonal height of bars.
|
On the bar family charts it is restricted to be discrete.
For additional information, see the base version of this property: CategoricalPlotVisualRoles#category.
The color visual role automatically binds to every dimension whose name has the color prefix or, if none exists, the dimensions of the "series" visual role.
The color visual role is discrete.
See pvc.options.VisualRole for more information on supported data types.
- Borrowed from:
- CartesianPlotVisualRoles
Most cartesian charts represent graphically the connectedness of data points of a given series in some way, by connecting points with a line, by giving them all the same color, or, simply, by the order in which they are drawn, and when overlapped, some stay on top of others.
The series visual role automatically binds to every dimension whose name has the series prefix.
The visual role itself is optional, yet, when unbound, a dimension with a "series" prefix is automatically created for it, and all datums will have the value null in that dimension.
See pvc.options.VisualRole for more information on supported data types.
- Borrowed from:
- CartesianPlotVisualRoles
The value visual role accepts and requires one or more numeric dimensions and automatically binds to a single numeric dimension whose name has the value prefix.
When bound to more than one dimension, the special valueRole.dim discriminator dimension can be used to control the behaviour:
- Bind at least one of the discrete visual roles multiChart, series or category to valueRole.dim, to make it that a single measure dimension is ultimately represented by plots.
- Don't bind the valueRole.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.