Class pvc.options.visualRoles.PiePlotVisualRoles
Extends
BasicPlotVisualRoles.
Constructor Attributes | Constructor Name and Description |
---|---|
The visual roles options class of the pie plot type.
|
Field Attributes | Field Name and Description |
---|---|
Visual Roles | |
The
category visual role is a plot-level visual role that
represents the grouping of data by slices of the pie.
|
|
The
color visual role is a plot-level visual role that
is visually encoded by the fill color of each pie slice.
|
|
The
value visual role is a plot-level visual role that
represents the main measure under analysis,
and is visually encoded by the
relative angle span of each pie slice.
|
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 "category" role.
The color visual role is discrete.
See pvc.options.VisualRole for more information on supported data types.
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.