ggplotly_nottshc | R Documentation |
There are some problems with x and y axis labels when converting ggplot2 to plotly, especially when using facets. This fun has a workaround that is not perfect.
ggplotly_nottshc(
ggplot,
xtitle = NULL,
ytitle = NULL,
aes_txt_tooltip = TRUE,
display_mode_bar = FALSE
)
ggplot |
ggplot2 object |
xtitle |
String, x lab title |
ytitle |
String, y lab title |
aes_txt_tooltip |
Logical, specifying whether or not to use tooltip |
display_mode_bar |
Logical, specifying whether to show the annoying mode bar from plotly, FALSE by default! |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.