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.visual.Sign

Class Summary
Constructor Attributes Constructor Name and Description
 
The Sign class represents thin wrappers around Protovis marks which configure them with special CCC behavior.
Method Summary
Method Attributes Method Name and Description
Color
 
dimColor(color, type)
Gets a dimmed/gray-scale version of a given color.
 
scaleColor(scene)
Gets the color to use for a given scene according to the color scale.
Interactivity
 
Gets a value that indicates if the sign reveals the active state of scenes.
 
Gets a value that indicates if the sign reveals the interactive state of scenes.
 
Gets a value that indicates if the sign reveals the selected state of datums.
Class Detail
pvc.visual.Sign
The Sign class represents thin wrappers around Protovis marks which configure them with special CCC behavior.
Method Detail
{!pv.FillStyle} dimColor(color, type)
Gets a dimmed/gray-scale version of a given color.
Arguments:
{string|!pv.FillStyle|!pv.Color} color
The color to transform.
{string} type
The type of graphical element for which the color will be used. Can be one of fill, stroke or text. Depending on the specified type, different effects may be used.
Returns:
{!pv.FillStyle} A Protovis color.

{!pv.FillStyle} scaleColor(scene)
Gets the color to use for a given scene according to the color scale.

Usually, calling Context#delegate returns the color scale's color. However, in some rare cases, delegating already returns a modified version of it. For these cases, this method can be used to obtain a color directly from the plot's color scale.

When the associated panel has a color axis, its scale is used to encode the value of the color scene variable. If there is no color axis, the value of pvc.defaultColor is used.

Arguments:
{!pvc.visual.Scene} scene
The scene.
Returns:
{!pv.FillStyle} A Protovis color.

{boolean} showsActivity()
Gets a value that indicates if the sign reveals the active state of scenes.
Returns:
{boolean} true if it reveals; false, otherwise.
See:
#showsInteraction
#showsSelection
pvc.visual.Scene#isActive
pvc.options.marks.MarkExtensionPoint#ibits
pvc.options.marks.MarkExtensionPoint#imask

{boolean} showsInteraction()
Gets a value that indicates if the sign reveals the interactive state of scenes.
Returns:
{boolean} true if it reveals; false, otherwise.
See:
#showsActivity
#showsSelection
pvc.visual.Scene#anyInteraction
pvc.options.marks.MarkExtensionPoint#ibits
pvc.options.marks.MarkExtensionPoint#imask

{boolean} showsSelection()
Gets a value that indicates if the sign reveals the selected state of datums.
Returns:
{boolean} true if it reveals; false, otherwise.
See:
#showsInteraction
#showsActivity
pvc.data.Datum#isSelected
pvc.options.marks.MarkExtensionPoint#ibits
pvc.options.marks.MarkExtensionPoint#imask

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