Skip to content

Commit 1cd291f

Browse files
committed
document className suffix in legends (#1664)
1 parent c50e7b9 commit 1cd291f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/features/legends.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ Continuous color legends are rendered as a ramp, and can be configured with the
118118
* **marginLeft** - the legend’s left margin
119119
* **opacity** - the ramp’s fill opacity
120120

121-
The **style** legend option allows custom styles to override Plot’s defaults; it has the same behavior as in Plot’s top-level [plot options](./plots.md).
121+
The **style** legend option allows custom styles to override Plot’s defaults; it has the same behavior as in Plot’s top-level [plot options](./plots.md). The **className** option is suffixed with *-ramp* or *-swatches*, reflecting the **legend** type.
122122

123123
## legend(*options*)
124124

0 commit comments

Comments
 (0)