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
Copy file name to clipboardExpand all lines: README.md
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -2417,7 +2417,7 @@ The following named markers are supported:
2417
2417
* *circle*, equivalent to *circle-fill* - a filled circle with a white stroke and 3px radius
2418
2418
* *circle-stroke* - a hollow circle with a colored stroke and a white fill and 3px radius
2419
2419
2420
-
If *marker* is true, it defaults to *circle*. If *marker* is a function, it will be called with a given *color* and must return an SVG marker element.
2420
+
If *marker* is true, it defaults to *circle*. If *marker* is a function, it will be called with a given *color* and *document* and must return an SVG marker element.
2421
2421
2422
2422
The primary color of a marker is inherited from the *stroke* of the associated mark. The *arrow* marker is [automatically oriented](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/orient) such that it points in the tangential direction of the path at the position the marker is placed. The *circle* markers are centered around the given vertex. Note that lines whose curve is not *linear* (the default), markers are not necessarily drawn at the data positions given by *x* and *y*; marker placement is determined by the (possibly Bézier) path segments generated by the curve. To ensure that symbols are drawn at a given *x* and *y* position, consider using a [dot](#dot).
0 commit comments