Class pvc.options.visualRoles.CategoricalPlotVisualRoles
Extends
CartesianPlotVisualRoles.
Constructor Attributes | Constructor Name and Description |
---|---|
The visual roles options class of categorical 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.
|
|
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.
|
Category data may be discrete or continuous. The relevant characteristic is that data with equal category values is grouped and summarized in some way.
So, if more that one data point exists for a given series and category values combination, nevertheless, only one visual element is generated for the whole group.
Some chart types support showing continuous category types, in a continuous scale. Others, turn continuous dimension types bound to the category visual role into discrete dimension types, and then show the continuous categories in a discrete scale.
The category visual role automatically binds to every dimension whose name has the category prefix.
The visual role itself is optional, yet, when unbound, a dimension with a "category" 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.
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