
vl_config_range
vl_config_range.RdAdd range config (RangeConfig) to a vega-lite spec.
Usage
vl_config_range(
spec,
category = NULL,
diverging = NULL,
heatmap = NULL,
ordinal = NULL,
ramp = NULL,
symbol = NULL,
.object = NULL,
...
)Arguments
- spec
An input vega-lite spec
- category
Default color scheme for categorical data.
- diverging
Default color scheme for diverging quantitative ramps.
- heatmap
Default color scheme for quantitative heatmaps.
- ordinal
Default color scheme for rank-ordered data.
- ramp
Default color scheme for sequential quantitative ramps.
- symbol
Array of symbol names or paths for the default shape palette.
- .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: RangeConfig- ...
Additional elements for constructing object.