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.marks.PieChartWedgeExtensionPoint


Extends WedgeExtensionPoint.

Class Summary
Constructor Attributes Constructor Name and Description
 
The class of the Pie chart's protovis Wedge extension points.
Field Summary
Field Attributes Field Name and Description
 
add
Use this extension point to add a new protovis mark to another mark.
 
The angular span of each slice, in radian units.
 
Indicates the distance between this mark's bottom side and its parent's bottom side.
 
The mouse cursor to show when the mouse is over.
 
The end angle of each slice, in radian units.
 
The mouse events that the mark can receive.
 
The fill color.
 
Flags that affect the interactivity of the mark.
 
Bit mask which controls the bits of ibits that should be considered.
 
The inner radius of each slice, in pixel units.
 
The inner radius of each slice, in pixel units or as a percentage of the outer radius.
 
Indicates the distance between this mark's left side and its parent's left side.
 
The possible ways to draw the ends of a line or line pattern.
 
The line width.
 
The offset radius of each slice, from the center of the pie, in pixel units or as a percentage of the outer radius.
 
The outer radius of each slice, in pixel units.
 
Indicates the distance between this mark's right side and its parent's right side.
 
The start angle of each slice, in radian units.
 
The possible stroke patterns.
 
The line color.
 
top
Indicates the distance between this mark's top side and its parent's top side.
 
Indicates if a mark is visible.
Class Detail
pvc.options.marks.PieChartWedgeExtensionPoint
The class of the Pie chart's protovis Wedge extension points.

See the associated protovis documentation at http://mbostock.github.com/protovis/jsdoc/symbols/pv.Wedge.html.

Field Detail
{function} add
Use this extension point to add a new protovis mark to another mark.

If the extension point refers to a panel mark, the parent of the new mark will be that panel. Otherwise, its parent will be the parent panel of the mark of the extension point.

The following example shows how to add an image to an axis tick:

function yAxisTick(){
    return new pv.Image()
            .url('res/images/arrowYy.png')
            .lineWidth(0)
            .height(7)
            .width(5);
}
                

Borrowed from:
MarkExtensionPoint

{number} angle
The angular span of each slice, in radian units.
Default Value:
0
Borrowed from:
WedgeExtensionPoint

{number} bottom
Indicates the distance between this mark's bottom side and its parent's bottom side.

See the associated protovis documentation at http://mbostock.github.com/protovis/jsdoc/symbols/pv.Mark.html#bottom.

Borrowed from:
MarkExtensionPoint

{string} cursor
The mouse cursor to show when the mouse is over. The value is a CSS2 cursor: http://www.w3.org/TR/CSS2/ui.html#propdef-cursor.

See the associated protovis documentation at http://mbostock.github.com/protovis/jsdoc/symbols/pv.Mark.html#cursor.

Borrowed from:
MarkExtensionPoint

{number} endAngle
The end angle of each slice, in radian units.

When unspecified, the end angle is the start angle plus the angular span.

Default Value:
0
Borrowed from:
WedgeExtensionPoint

{string} events
The mouse events that the mark can receive.

The possible values are: 'none', 'painted' and 'all'.

See the associated protovis documentation at http://mbostock.github.com/protovis/jsdoc/symbols/pv.Mark.html#events.

Borrowed from:
MarkExtensionPoint

{pvc.options.varia.ColorString} fillStyle
The fill color.
Borrowed from:
WedgeExtensionPoint

{number|string} ibits
Flags that affect the interactivity of the mark.

The default value, -1 has all bits with the value "1".

Only the bits for which #imask is "1" are considered.

Bits can be combined by using a "|" character, for example: "Selectable|Hoverable"

The following are the supported bit values:

bit description
Interactive The mark can trigger and display interaction.
ShowsActivity The mark's style can change based on the active scene.
ShowsSelection The mark's style can change based on whether the datums in its scene are selected.
ShowsTooltip The mark displays a tooltip when pointed to.
Selectable The mark can be selected by one of the possible means. Use this to disable this mark from affecting selection, by whatever means.
SelectableByClick The mark can be selected by clicking on it. Requires the Selectable bit as well.
SelectableByRubberband The mark can be selected by using the rubber-band.
SelectableByFocusWindow The mark can be selected when the focus window reveals it.
Hoverable The mark can be hovered-over and affect its scene's active state.
Clickable The mark can be clicked and trigger the clickAction handler.
DoubleClickable The mark can be double-clicked and trigger the doubleClickAction handler.
Default Value:
-1
Borrowed from:
MarkExtensionPoint

{number|string} imask
Bit mask which controls the bits of ibits that should be considered.

The default value, 0 has all bits with the value "0".

See #ibits for more information.

Default Value:
0
Borrowed from:
MarkExtensionPoint

{number} innerRadius
The inner radius of each slice, in pixel units.
Borrowed from:
WedgeExtensionPoint

{number|string} innerRadiusEx
The inner radius of each slice, in pixel units or as a percentage of the outer radius.

This extension point is only defined in the pie chart's wedge mark.


{number} left
Indicates the distance between this mark's left side and its parent's left side.

See the associated protovis documentation at http://mbostock.github.com/protovis/jsdoc/symbols/pv.Mark.html#left.

Borrowed from:
MarkExtensionPoint

{pvc.options.varia.StrokeLineCap} lineCap
The possible ways to draw the ends of a line or line pattern.
Default Value:
'butt'
Borrowed from:
WedgeExtensionPoint

{number} lineWidth
The line width.
Borrowed from:
WedgeExtensionPoint

{number|string} offsetRadius
The offset radius of each slice, from the center of the pie, in pixel units or as a percentage of the outer radius.

This extension point is only defined in the pie chart's wedge mark.

The default implementation of this extension point honors the pie plot options pvc.options.plots.PiePlot#explodedSliceRadius and pvc.options.plots.PiePlot#explodedSliceIndex.

The returned radius is kept within the interval: 0 and the total reserved "interaction" radius — the sum of pvc.options.plots.PiePlot#explodedSliceRadius and pvc.options.plots.PiePlot#activeSliceRadius.

For example, this extension point can be used to show selected slices with an "exploded" style. This can be combined with the single selection mode.


{number} outerRadius
The outer radius of each slice, in pixel units.
Borrowed from:
WedgeExtensionPoint

{number} right
Indicates the distance between this mark's right side and its parent's right side.

See the associated protovis documentation at http://mbostock.github.com/protovis/jsdoc/symbols/pv.Mark.html#right.

Borrowed from:
MarkExtensionPoint

{number} startAngle
The start angle of each slice, in radian units.

When unspecified, the start angle assumes the end angle of the previous slice.

Default Value:
0
Borrowed from:
WedgeExtensionPoint

{pvc.options.varia.StrokeDasharray} strokeDasharray
The possible stroke patterns.
Borrowed from:
WedgeExtensionPoint

{pvc.options.varia.ColorString} strokeStyle
The line color.
Borrowed from:
WedgeExtensionPoint

{number} top
Indicates the distance between this mark's top side and its parent's top side.

See the associated protovis documentation at http://mbostock.github.com/protovis/jsdoc/symbols/pv.Mark.html#top.

Borrowed from:
MarkExtensionPoint

{boolean} visible
Indicates if a mark is visible.

When a mark is not visible, all its other properties are not evaluated.

When a mark is not visible, its children are not evaluated.

See the associated protovis documentation at http://mbostock.github.com/protovis/jsdoc/symbols/pv.Mark.html#visible.

Borrowed from:
MarkExtensionPoint

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