Skip to content

Commit 9b2e173

Browse files
committed
Update README
1 parent 1af1496 commit 9b2e173

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

README.md

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -709,11 +709,9 @@ The following channels are required:
709709
* **x2** - the ending horizontal position; bound to the *x* scale
710710
* **y2** - the ending vertical position; bound to the *y* scale
711711

712-
The link mark supports the [standard mark options](#marks).
712+
The link mark supports the [standard mark options](#marks). The **stroke** defaults to currentColor. The **fill** defaults to none. The **strokeWidth** and **strokeMiterlimit** default to one.
713713

714-
The **stroke** defaults to currentColor. The **fill** defaults to none. (Only curved links can show a fill.)
715-
716-
The link mark supports [curve options](#curves) to control interpolation between points (*e.g.*, curve: step, step-after, step-before, bump-x, bump-y).
714+
The link mark supports [curve options](#curves) to control interpolation between points. Since a link always has two points by definition, only the following curves (or a custom curve) are recommended: *linear*, *step*, *step-after*, *step-before*, *bump-x*, or *bump-y*. Note that the *linear* curve is incapable of showing a fill since a straight line has zero area.
717715

718716
#### Plot.link(*data*, *options*)
719717

0 commit comments

Comments
 (0)