50% off: Unlimited data and AI learning.
State of Data and AI Literacy Report 2025

webvis (version 0.0.2)

append.param: Used in pv...

Description

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

Usage

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.

Value

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.

References

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