Skip to contents

Plotlyfy graph in ABM context

Usage

abm_plotlyfy(graphobj, tooltip, optionsbar = FALSE, showlegend = TRUE)

Arguments

graphobj

a ggplot object

tooltip

which paramenters to show as tooltips

optionsbar

boolean, default false, indicating whether optionssbar should be shown

showlegend

boolean, default true, indicating whether legend should be included

Value

a plotly object