facet_cell: Facet cell aesthetics

Description Usage Arguments References

View source: R/cell.r

Description

At its core, a Vega-Lite specification describes a single plot. When a facet channel is added, the visualization is faceted into a trellis plot, which contains multiple plots. Each plot in either a single plot or a trellis plot is called a cell. Cell configuration allows us to customize each individual single plot and each plot in a trellis plot.

Usage

1
2
3
facet_cell(vl, width = 200, height = 200, fill = NULL,
  fill_opacity = NULL, stroke = NULL, stroke_opacity = NULL,
  stroke_width = NULL, stroke_dash = NULL, stroke_dash_offset = NULL)

Arguments

vl

Vega-Lite object

width, height

width and height property of the cell configuration determine the width of a visualization with a continuous x-scale and the height of a visualization with a continuous y-scale respectively. Visit the URL in the References section for more information.

fill

fill color

fill_opacity

0.0-1.0

stroke

stroke color

stroke_opacity

0.0-1.0

stroke_width

stroke of the width in pixels

stroke_dash

an array of alternating stroke, space lengths for creating dashed or dotted lines.

stroke_dash_offset

the offset (in pixels) into which to begin drawing with the stroke dash array.

References

Vega-Lite Facet spec


vegalite documentation built on May 2, 2019, 10:46 a.m.