Customise the crosstalk selection handle.

crosstalk_select(g, attribute, on, off = NULL)

Arguments

g

An object of class g2r or g2Proxy as returned by g2() or g2_proxy().

attribute

Attribute to customise, e.g.: stroke, fill, strokeOpacity, etc.

on, off

Value to set the attribute to if the selected is on or off.