Description Usage Arguments References
Vega-lite 2 no longer has cell
and facet
properties under config
. Thus
functions setting those properties have been deprecated. Some of the
functionality can be acheived with view_config
and
view_size
.
1 2 3 4 5 6 7 | cell_config(vl, ...)
cell_size(vl, width = 200, height = 200, facet = FALSE)
facet_cell(vl, ...)
grid_facet(vl, grid_color = NULL, grid_opacity = NULL, grid_offset = NULL)
|
vl |
Vega-Lite object |
... |
additional arguments to pass to cell_config |
width |
width of cell |
height |
height of cell |
facet |
if facetting |
grid_color |
color of the grid between facets. |
grid_opacity |
|
grid_offset |
offset for grid between facets. |
Vega-Lite 2 config spec Vega-Lite 1 cell spec Vega-Lite 1 cell spec
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.