
vl_config_selection
vl_config_selection.RdAdd selection config (SelectionConfig) to a vega-lite spec.
Arguments
- spec
- An input vega-lite spec 
- interval
- The default definition for an - intervalselection. All properties and transformations for an interval selection definition (except- type) may be specified here.- For instance, setting - intervalto- {"translate": false}disables the ability to move interval selections by default.
- point
- The default definition for a - pointselection. All properties and transformations for a point selection definition (except- type) may be specified here.- For instance, setting - pointto- {"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