Skip to contents

Add the showSelected/clickSelects params to the aesthetics mapping

Usage

addSSandCSasAesthetics(aesthetics, extra_params)

Arguments

aesthetics

list. Original aesthetics mapping of the layer

extra_params

named list containing the details of showSelected and clickSelects values of the layer

Value

Modified aesthetics list with showSelected/clickSelects params added

Details

Used before calling ggplot_build in parsePlot and while checking animint extensions to raise error