Learn R Programming

gridSVG (version 0.9-0)

grid.hyperlink: Associate a hyperlink with a grid grob

Description

Creates a linked.grob object which is a normal grid grob, with a hyperlink attached. Useful in conjunction with gridToSVG, to produce an SVG document with hyperlinked graphical elements.

Usage

grid.hyperlink(path, href, group)

Arguments

path
A grob path specifying a drawn grob.
href
A valid Xlink URI. Can be a vector of several links (see group argument below).
group
A logical indicating whether the hyperlinks should be attached to the overall parent group for the relevant SVG element, or to individual SVG elements.

Value

  • A linked.grob object.

synopsis

hyperlinkGrob(x, href, group=TRUE) grid.hyperlink(path, href, group=TRUE)

See Also

gridToSVG