append.param: Used in pv...

Description Usage Arguments Details Value Author(s) References

View source: R/protovis.R

Description

Used in pv.chart to correctly combine parameters from the input.

Usage

1
append.param(paramlist, name, value, param.name, param.scale, scale.min, scale.max, xmin, xmax, ymin, ymax)

Arguments

paramlist

A list of parameters, to be appended.

name

The name of the Protovis parameter (e.g. "width").

value

A specific value for the parameter (e.g. 200).

param.name

The name of the field in the dataset (if not supplying specific value).

param.scale

The scaling for the parameter.

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.

Details

append.param Used in pv.chart to correctly combine parameters from the input. A "value" has a higher priority than a name in the data.

Value

A list of parameters.

Author(s)

Shane Conway shane.conway@gmail.com

References

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


webvis documentation built on May 30, 2017, 12:46 a.m.