Skip to contents

Add stack parameters to an encoding

Usage

vl_stack_radius(spec, stack = c("zero", "center", "normalize", NA))

vl_stack_theta(spec, stack = c("zero", "center", "normalize", NA))

vl_stack_x(spec, stack = c("zero", "center", "normalize", NA))

vl_stack_y(spec, stack = c("zero", "center", "normalize", NA))

Arguments

spec

An input vega-lite spec

stack

One of 'zero', 'center', 'normalize', NA

Value

A modified Vega-Lite Spec