ggvis
ggvis copied to clipboard
For categorical scales, should be able to set domain with named range
So that you can do (e.g.)
vis %>% scale_numeric("fill", c("4"= "red", "6" = "blue", "8" = "green"))
instead of
vis %>% scale_numeric("fill", c("4", "6", "8"), c("red", "blue", "green"))
I think this will require adding a custom scale and dataset for name mappings.
Any update on this?
Still nothing?