
vl_config_facet
vl_config_facet.RdAdd facet config (CompositionConfig) to a vega-lite spec.
Arguments
- spec
An input vega-lite spec
- columns
The number of columns to include in the view composition layout.
Default value:
undefined-- An infinite number of columns (a single row) will be assumed. This is equivalent tohconcat(forconcat) and to using thecolumnchannel (forfacetandrepeat).Note:
This property is only for:
the general (wrappable)
concatoperator (nothconcat/vconcat)the
facetandrepeatoperator with one field/repetition definition (without row/column nesting)
Setting the
columnsto1is equivalent tovconcat(forconcat) and to using therowchannel (forfacetandrepeat).
- spacing
The default spacing in pixels between composed sub-views.
Default value:
20- .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: CompositionConfig