Make a clickSelects geom_tallrect that completely tiles the x range. This makes it easy to construct tallrects for the common case of selecting a particular x value.
make_tallrect(data, x.name, even = FALSE, alpha = 1/2, ...)
a geom_tallrect layer.
data.frame to analyze for unique x.name values.
variable to be used for x, clickSelects.
Logical parameter, should tallrects be of even width?
transparency of a selected tallrect, default 1/2.
passed to geom_tallrect.
Toby Dylan Hocking