Hello! Easiest to describe this in comparison to {plotly}, which flows to fill the viewer area in RStudio.
test <- data.frame(x = letters, y = 1:26)
plotly <-
plotly::plot_ly(test, x = ~x, y = ~y) |>
plotly::add_bars()
plotly::subplot(plotly, plotly, nrows = 2)
{echarts4r} appears to fix the heights of plots in e_arrange(), meaning you end up needing to scroll:
echarts <-
echarts4r::e_charts(test, x) |>
echarts4r::e_bar(y)
echarts4r::e_arrange(echarts, echarts, rows = 2)
I don't know if it is at all possible to make e_arrange() outputs 'fluid' in this way? I note that a single echart on its own resizes to fit the viewer box, the behaviour seems to go away when its arranged with other charts.
Thanks!
Jack
Hello! Easiest to describe this in comparison to
{plotly}, which flows to fill the viewer area in RStudio.{echarts4r}appears to fix the heights of plots ine_arrange(), meaning you end up needing to scroll:I don't know if it is at all possible to make
e_arrange()outputs 'fluid' in this way? I note that a single echart on its own resizes to fit the viewer box, the behaviour seems to go away when its arranged with other charts.Thanks!
Jack