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