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 shane.conway@gmail.com

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 19, 2017, 11:07 p.m.
Search within the webvis package
Search all R packages, documentation and source code

Questions? Problems? Suggestions? Tweet to @rdrrHQ or email at ian@mutexlabs.com.

Please suggest features or report bugs in the GitHub issue tracker.

All documentation is copyright its authors; we didn't write any of that.