This function can be used to generate interactive grob paths
interactive_path_grob(x, y, id = NULL, id.lengths = NULL,
rule = "winding", tooltip = NULL, onclick = NULL, data_id = NULL,
default.units = "npc", name = NULL, gp = gpar(), vp = NULL)
A numeric vector or unit object specifying x-locations.
A numeric vector or unit object specifying y-locations.
A numeric vector used to separate locations in x
and
y
into sub-paths. All locations with the same
id
belong to the same sub-path.
A numeric vector used to separate locations in x
and
y
into sub-paths. Specifies consecutive blocks of
locations which make up separate sub-paths.
A character value specifying the fill rule: either
"winding"
or "evenodd"
.
tooltip associated with polygons
javascript action to execute when polygon is clicked
identifiers to associate with polygons
A string indicating the default units to use
if x
or y
are only given as numeric vectors.
A character identifier.
An object of class gpar
, typically the output
from a call to the function gpar
. This is basically
a list of graphical parameter settings.
A Grid viewport object (or NULL).