I am wondering if anyone was able to get a dynamic ggvis graph for working with a knitr document. I get the following warning when I create my storyline and the interactive help does not work after using knitr.
## Warning: Can't output dynamic/interactive ggvis plots in a knitr document. ## Generating a static (non-dynamic, non-interactive) version of the plot. df %>% ungroup() %>% ggvis(~Week,~Rank, stroke = ~Team) %>% layer_points(size := 40, size.hover := 200, fill = ~Team, key:=~id) %>% layer_lines(stroke.hover = ~Team, strokeWidth.hover := 8, strokeWidth := 1) %>% add_axis("x", title="Week", subdivide = 0, values = seq(1, 17, by = 1), format="####") %>% add_axis("y", title="Rank", subdivide = 0, values = seq(1, 10, by = 1), format='####') %>% scale_numeric("y", reverse=TRUE) %>% add_tooltip(all_values, "hover")
Everything works after I knit the .Rmd file, except for add_tooltip ()
source share