scale_y_pow: Power Scale

Description Usage Arguments References

View source: R/scales.r

Description

Power Scale

Usage

1
2
scale_y_pow(vl, domain = NULL, range = NULL, clamp = NULL, exp = NULL,
  nice = NULL, zero = NULL)

Arguments

vl

Vega-Lite object

domain

Custom domain values. For quantitative data, this can take the form of a two-element array with minimum and maximum values.

range

The range of the scale represents the set of output visual values. Vega-Lite automatically determines appropriate range based on the scale’s channel and type, but range property can be provided to customize range values.

clamp

if true, values that exceed the data domain are clamped to either the minimum or maximum range value. Default value: derived from scale config (true by default) Supported Types: only linear, pow, sqrt, and log

exp

exponent

nice

If true, modifies the scale domain to use a more human-friendly number range (e.g., 7 instead of 6.96). Default value: true only for quantitative x and y scales and false otherwise.

zero

If true, ensures that a zero baseline value is included in the scale domain. Default value: true if the quantitative field is not binned.

References

Vega-Lite Scales spec


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