vl_config_selection
vl_config_selection.Rd
Add selection config (SelectionConfig) to a vega-lite spec.
Arguments
- spec
An input vega-lite spec
- interval
The default definition for an
interval
selection. All properties and transformations for an interval selection definition (excepttype
) may be specified here.For instance, setting
interval
to{"translate": false}
disables the ability to move interval selections by default.- point
The default definition for a
point
selection. All properties and transformations for a point selection definition (excepttype
) may be specified here.For instance, setting
point
to{"on": "dblclick"}
populates point selections on double-click by default.- .object
Directly input an object, rather than creating one via the other arguments. Should not be used in conjunction with the other arguments other than
spec
. Objects can be of type: SelectionConfig