scale_color_nominal: Nominal Color Scale

Description Usage Arguments References

View source: R/scales.r

Description

Nominal Color Scale

Usage

1

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.

References

Vega-Lite Scales spec


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