You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Categorical and ordinal color legends are rendered as swatches, unless *options*.**legend** is set to *ramp*. The swatches can be configured with the following options:
519
519
520
-
**options*.**tickFormat** - a format function for the labels
520
+
**options*.**tickFormat** - a format function for the domain values
521
+
**options*.**label** - explicit label for the legend—by default, no label is shown
521
522
**options*.**swatchSize** - the size of the swatch (if square)
522
523
**options*.**swatchWidth** - the swatches’ width
523
524
**options*.**swatchHeight** - the swatches’ height
0 commit comments