rstudio / dygraphs

R interface to dygraphs
http://rstudio.github.io/dygraphs
Other
364 stars 194 forks source link

dyStackedBarGroup doesn't show bars #246

Open mcanigueral opened 4 years ago

mcanigueral commented 4 years ago

Hi,

In my local computer (Windows 10) I don't have any problem with dygraphs and rstudio. However, after uploading my shiny app to an Ubuntu VPS, I've realised that I don't see the bars from the plotter dyStackedBarGroup(), only the data points:

image

The corresponding code is the following, with df_to_xts() as a function to convert a tibble to xts time series:

data %>%
        df_to_xts() %>%
        dygraph(group = "a") %>%
        dyStackedBarGroup(c('Var1', 'Var2', 'Var3'), color = c('#2952a3', '#0000ff', '#0080ff'))

I've checked that for other Group Plotters like dyStackedRibbonGroup() or dyMultiColumnGroup() also don't appear in the plot, only the data points as we see in the image above.

I guess that it's a problem of getting the plotters from dygraphs library. Does anyone has a hint about this?

Thanks!

vspinu commented 4 years ago

Same here. Would apreciate any hints.

vspinu commented 4 years ago

Installing dev version of htmlwidgets helped. Related or duplicate #237