Skip to content

Commit 11a4751

Browse files
authored
tip lineWidth defaults to 20 (#2355)
1 parent f5ab07f commit 11a4751

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/marks/tip.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ These [standard text options](./text.md#text-options) control the display of tex
250250
- **fontWeight** - the [font weight](https://developer.mozilla.org/en-US/docs/Web/CSS/font-weight); defaults to *normal*
251251
- **textAnchor** - the [text anchor](https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/text-anchor) for horizontal position; *start*, *end*, or *middle*
252252
- **lineHeight** - the line height in ems; defaults to 1
253-
- **lineWidth** - the line width in ems, for wrapping; defaults to Infinity
253+
- **lineWidth** - the line width in ems, for wrapping; defaults to 20
254254
- **textOverflow** - how to wrap or clip lines longer than the specified line width
255255

256256
## tip(*data*, *options*) {#tip}

0 commit comments

Comments
 (0)