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: docs/guide/types/line.md
+2-2Lines changed: 2 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,7 @@ If `scaleID` is unset, then `xScaleID` and `yScaleID` are used to draw a line fr
105
105
| `borderDash` | Length and spacing of dashes. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/setLineDash).
106
106
| `borderDashOffset` | Offset for line dashes. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineDashOffset).
107
107
| `backgroundColor` | Fill color
108
-
| `cornerRadius` | Radius of box rectangle
108
+
| `borderRadius` | Radius of box rectangle
109
109
110
110
### Label
111
111
@@ -118,7 +118,7 @@ All of these options can be [Scriptable](../options#scriptable-options)
118
118
| `backgroundColor` | [`Color`](../options#color) | `'rgba(0,0,0,0.8)'` | Background color of the label container.
119
119
| `color` | [`Color`](../options#color) | `'#fff'` | Text color.
120
120
| `content` | `string`\|[`Image`](https://developer.mozilla.org/en-US/docs/Web/API/HTMLImageElement/Image) | `null` | The content to show in the label.
121
-
| `cornerRadius` | `number` | `6` | Radius of label box in pixels.
121
+
| `borderRadius` | `number` | `6` | Radius of label box in pixels.
122
122
| `drawTime` | `string` | `options.drawTime` | See [drawTime](../options#draw-time). Defaults to the line annotation draw time if unset
123
123
| `enabled` | `boolean` | `false` | Whether or not the label is shown.
0 commit comments