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
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -459,7 +459,6 @@ All marks support the following style options:
459
459
***fill** - fill color
460
460
***fillOpacity** - fill opacity (a number between 0 and 1)
461
461
***stroke** - stroke color
462
-
***strokeWidth** - stroke width (in pixels)
463
462
***strokeOpacity** - stroke opacity (a number between 0 and 1)
464
463
***strokeLinejoin** - how to join lines (*bevel*, *miter*, *miter-clip*, or *round*)
465
464
***strokeLinecap** - how to cap lines (*butt*, *round*, or *square*)
@@ -474,6 +473,7 @@ All marks support the following optional channels:
474
473
***fillOpacity** - a fill opacity; bound to the *opacity* scale
475
474
***stroke** - a stroke color; bound to the *color* scale
476
475
***strokeOpacity** - a stroke opacity; bound to the *opacity* scale
476
+
***strokeWidth** - stroke width (in pixels)
477
477
***title** - a tooltip (a string of text, possibly with newlines)
478
478
479
479
The **fill**, **fillOpacity**, **stroke**, and **strokeOpacity** options can be specified as either channels or constants. When the fill or stroke is specified as a function or array, it is interpreted as a channel; when the fill or stroke is specified as a string, it is interpreted as a constant if a valid CSS color and otherwise it is interpreted as a column name for a channel. Similarly when the fill or stroke opacity is specified as a number, it is interpreted as a constant; otherwise it is interpeted as a channel. When the radius is specified as a number, it is interpreted as a constant; otherwise it is interpreted as a channel.
0 commit comments