Usage
ggiraph(code, pointsize = 12, width = 0.7, width_svg = 6, height_svg = 6, tooltip_extra_css, hover_css, tooltip_opacity = 0.9, tooltip_offx = 10, tooltip_offy = 0, zoom_max = 1, selection_type = "multiple", selected_css, ...)
Arguments
code
Plotting code to execute
pointsize
the default pointsize of plotted text in pixels, default to 12.
width
widget width ratio (0 > width >= 1)
width_svg, height_svg
svg viewbox width and height in inches
tooltip_extra_css
extra css (added to position: absolute;pointer-events: none;
)
used to customize tooltip area.
hover_css
css to apply when mouse is hover and element with a data-id attribute.
tooltip_opacity
tooltip opacity
tooltip_offx
tooltip x offset
tooltip_offy
tooltip y offset
zoom_max
maximum zoom factor
selection_type
row selection mode ("single", "multiple", "none")
when widget is in a Shiny application.
selected_css
css to apply when element is selected (shiny only).
...
arguments passed on to dsvg