pv.param: A protovis mark parameter.

Description Usage Arguments Details Value Author(s) References Examples

Description

A protovis mark parameter.

Usage

1
pv.param(name, data, data.name, value, scale, scale.min, scale.max, xmin, xmax, ymin, ymax, default, quote=TRUE)

Arguments

name

The name of mark parameter.

data

The data used in the parameter settings.

data.name

The name of the field in the dataset.

value

An explicit value for the parameter.

scale

Whether the value or data should be scaled. Can be "linear", "log", or ...

scale.min

The minimum scaled value (or defaults to zero) in pixels.

scale.max

The maximum scaled value (or defaults to the height/width of the visualization) in pixels.

xmin

The minimum x value for the scaled output.

xmax

The maximum x value for the scaled output.

ymin

The minimum y value for the scaled output.

ymax

The maximum y value for the scaled output.

default

The default value for the parameter.

quote

Whether character values should be quoted.

Details

pv.param A protovis mark parameter.

Value

A webvis.param object.

Author(s)

Shane Conway shane.conway@gmail.com

References

http://vis.stanford.edu/protovis/

Examples

1
pv.param(name="data", value="d")

leeper/rwebvis documentation built on May 21, 2019, 1:39 a.m.