Class pvc.options.visualRoles.PointPlotVisualRoles
Extends
CategoricalPlotVisualRoles.
Constructor Attributes | Constructor Name and Description |
---|---|
The visual roles options class of the point plot type.
|
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.
|
|
The
value visual role is a plot-level visual role that
represents its main measure under analysis, specifically,
it is visually encoded by the
orthogonal position of 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.
- Borrowed from:
- CategoricalPlotVisualRoles
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.