axis_facet_row: General axis setttings (row facets)

Description Usage Arguments References

View source: R/axis.r

Description

Axes provide axis lines, ticks and labels to convey how a spatial range represents a data range. Simply put, axes visualize scales.

By default, Vega-Lite automatically creates axes for x, y, row, and column channels when they are encoded. Axis can be customized via the axis property of a channel definition.

Usage

1
2
3
4
5
6
7
axis_facet_row(vl, axisWidth = 0, layer = NULL, offset = NULL,
  grid = FALSE, labels = TRUE, labelAngle = NULL, labelAlign = NULL,
  labelBaseline = NULL, labelMaxLength = 25, shortTimeLabels = NULL,
  subdivide = NULL, ticks = NULL, tickPadding = NULL, tickSize = 0,
  tickSizeMajor = NULL, tickSizeMinor = NULL, tickSizeEnd = NULL,
  title = "", titleOffset = NULL, titleMaxLength = NULL,
  characterWidth = 6, orient = NULL, format = NULL, remove = FALSE)

Arguments

vl

Vega-Lite object

axisWidth, layer, offset, grid, labels, labelAngle, labelAlign, labelBaseline

see axis docs & axis base config

labelMaxLength, shortTimeLabels, subdivide, ticks, tickPadding, tickSize

see axis docs & axis base config

tickSizeMajor, tickSizeMinor, tickSizeEnd, title, titleOffset, titleMaxLength

see axis docs & axis base config

characterWidth, orient, format, remove

see axis docs & axis base config

References

Vega-List Axis spec


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