webvisToHTML: Convert webvis to HTML.

Description Usage Arguments Details Value Author(s) References Examples

View source: R/protovis.R

Description

Convert webvis to HTML.

Usage

1
webvisToHTML(wv, div.id="id", html.wrap=TRUE, title, head=getHead(title = title, protovis.path = protovis.path), tail=getTail(), protovis.path)

Arguments

wv

A webvis.flat object (from the unfold.webvis function()).

div.id

The div tag id.

html.wrap

Whether to wrap the visualization in other supplied HTML.

title

The title of the HTML page.

head

The HTML above the webvis.

tail

The HTML below the webvis.

protovis.path

The path to the protovis javascript.

Details

webvisToHTML Convert webvis to HTML.

Value

The HTML output

Author(s)

Shane Conway [email protected]

References

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

Examples

1
webvisToHTML(wv=unfold.webvis(new.webvis() + pv.line(data=c(1, 1.2, 1.7, 1.5, .7, .5, .2), bottom.name="y", left.name="x", bottom.scale="linear.y.y", left.scale="linear.x.x", line.width=5, render=FALSE)))

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