Convert webvis to HTML.

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)))

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.