plotly.R
plotly.R copied to clipboard
An interactive graphing library for R
When creating a ggplot with geom_rect the order in which the data is provided is honored. Once converted via ggplotly the drawing order changes and therefore geom_rect objects may e.g....
There seems to be a discrepancy between plotly for R and for python in how it handles zooming across facets. To take my examples directly from the documentation: https://plotly.com/ggplot2/facet-plots/ vs...
Multiline is successfully set in the ggplot object with `labeller = ggplot2::label_wrap_gen(width = 15, multi_line = TRUE)` but then displays incorrectly when passed to `ggplotly`  ```r df
I recently introduced `ggplotly()` to my students, and several who use Windows machines reported that nothing was rendered when the following code was executed: ```library(tidyverse) library(gapminder) library(plotly) p % ggplot(aes(gdpPercap,...
In `ggplot::geom_rect()`, one can specify the aesthetics `ymin = -Inf` and `ymax = Inf`, which will draw the rectangles to the limit of the plotting area. Apparently, `ggplotly` does not...
Trying to make a linked bar chart that links with other charts using crosstalk and shiny. **Issue**: When clicking the plot, it stacks on top instead of just highlighting ...
In https://plotly.com/r/subplots/#customizing-subplot-axes it is described, that xaxis/yaxis apply to all axis in the subplots. > After a figure with subplots is created using the subplot function, its axis properties (title,...
Following on from #225, here is an an example where ordering of traces is wrong ```r set.seed(12345) df1 = data.frame( x = seq(1, 200), y = 100 + cumsum(rnorm(200)) )...