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:
511
511
512
-
**options*.**tickFormat** - a format function for the labels
512
+
**options*.**tickFormat** - a format function for the domain values
513
+
**options*.**label** - explicit label for the legend—by default, no label is shown
513
514
**options*.**swatchSize** - the size of the swatch (if square)
514
515
**options*.**swatchWidth** - the swatches’ width
515
516
**options*.**swatchHeight** - the swatches’ height
0 commit comments