rstudio / ggvis

Interactive grammar of graphics for R
Other
713 stars 171 forks source link

lines stroke (color) legend shows circles #360

Open yasirs opened 9 years ago

yasirs commented 9 years ago

The legend for lines should show lines, rather than circles (which look as if they represent markers for points). E.g., if I do

mtcars %>% ggvis(~wt, ~mpg) %>% group_by(cyl) %>% layer_lines(stroke = ~factor(cyl))

I get plot_276750617 Also, I get a warning message:

In rbind_all(out[[1]]) : Unequal factor levels: coercing to character

raubreywhite commented 8 years ago

Agreed. This is problematic for putting ggvis products into production.