vl_config_facet
vl_config_facet.Rd
Add 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 thecolumn
channel (forfacet
andrepeat
).Note:
This property is only for:
the general (wrappable)
concat
operator (nothconcat
/vconcat
)the
facet
andrepeat
operator with one field/repetition definition (without row/column nesting)
Setting the
columns
to1
is equivalent tovconcat
(forconcat
) and to using therow
channel (forfacet
andrepeat
).
- 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