Model Index

Types By Namespace

cdo

def

pvc

pvc.data

pvc.options

pvc.options.axes

pvc.options.charts

pvc.options.ext

pvc.options.format

pvc.options.marks

pvc.options.panels

pvc.options.plots

pvc.options.varia

pvc.options.visualRoles

pvc.visual

Class pvc.options.visualRoles.PiePlotVisualRoles


Extends BasicPlotVisualRoles.

Class Summary
Constructor Attributes Constructor Name and Description
 
The visual roles options class of the pie plot type.
Field Summary
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.
Class Detail
pvc.options.visualRoles.PiePlotVisualRoles
The visual roles options class of the pie plot type.
Field Detail
{string|pvc.options.VisualRole} category
The category visual role is a plot-level visual role that represents the grouping of data by slices of the pie.

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.


{string|pvc.options.VisualRole} color
The color visual role is a plot-level visual role that is visually encoded by the fill color of each pie slice.

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.


{string|pvc.options.VisualRole} value
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 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:

See pvc.options.VisualRole for more information on supported data types.


Documentation generated by JsDoc Toolkit 2.4.0 on Thu Dec 20 2018 15:47:44 GMT-0000 (WET)