Skip to content

Commit 4ab0e6d

Browse files
authored
document Plot.frame's anchor option (#1243)
1 parent c0fcaa1 commit 4ab0e6d

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2021,6 +2021,8 @@ Decorations are static marks that do not represent data. Currently this includes
20212021
20222022
The frame mark supports the [standard mark options](#marks), and the **rx** and **ry** options to set the [*x* radius](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/rx) and [*y* radius](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/ry) for rounded corners. It does not accept any data or support channels. The default **stroke** is currentColor, and the default **fill** is none.
20232023
2024+
If the **anchor** option is specified as one of *left*, *right*, *top*, or *bottom*, that side is rendered as a single line (and the *fill*, *rx* and *ry* options are ignored).
2025+
20242026
#### Plot.frame(*options*)
20252027
20262028
<!-- jsdoc frame -->

0 commit comments

Comments
 (0)