@@ -103,15 +103,17 @@ The doughnut/pie chart allows a number of properties to be specified for each da
103
103
| Name | Type | [ Scriptable] ( ../general/options.md#scriptable-options ) | [ Indexable] ( ../general/options.md#indexable-options ) | Default
104
104
| ---- | ---- | :----: | :----: | ----
105
105
| [ ` backgroundColor ` ] ( #styling ) | [ ` Color ` ] ( ../general/colors.md ) | Yes | Yes | ` 'rgba(0, 0, 0, 0.1)' `
106
- | [ ` borderAlign ` ] ( #border-alignment ) | ` string ` | Yes | Yes | ` 'center' `
106
+ | [ ` borderAlign ` ] ( #border-alignment ) | ` 'center' ` \| ` 'inner' ` | Yes | Yes | ` 'center' `
107
107
| [ ` borderColor ` ] ( #styling ) | [ ` Color ` ] ( ../general/colors.md ) | Yes | Yes | ` '#fff' `
108
+ | [ ` borderJoinStyle ` ] ( #styling ) | ` 'round' ` \| ` 'bevel' ` \| ` 'miter' ` | Yes | Yes | ` undefined `
108
109
| [ ` borderRadius ` ] ( #border-radius ) | ` number ` \| ` object ` | Yes | Yes | ` 0 `
109
110
| [ ` borderWidth ` ] ( #styling ) | ` number ` | Yes | Yes | ` 2 `
110
111
| [ ` circumference ` ] ( #general ) | ` number ` | - | - | ` undefined `
111
112
| [ ` clip ` ] ( #general ) | ` number ` \| ` object ` | - | - | ` undefined `
112
113
| [ ` data ` ] ( #data-structure ) | ` number[] ` | - | - | ** required**
113
114
| [ ` hoverBackgroundColor ` ] ( #interations ) | [ ` Color ` ] ( ../general/colors.md ) | Yes | Yes | ` undefined `
114
115
| [ ` hoverBorderColor ` ] ( #interactions ) | [ ` Color ` ] ( ../general/colors.md ) | Yes | Yes | ` undefined `
116
+ | [ ` hoverBorderJoinStyle ` ] ( #interactions ) | ` 'round' ` \| ` 'bevel' ` \| ` 'miter' ` | Yes | Yes | ` undefined `
115
117
| [ ` hoverBorderWidth ` ] ( #interactions ) | ` number ` | Yes | Yes | ` undefined `
116
118
| [ ` hoverOffset ` ] ( #interactions ) | ` number ` | Yes | Yes | ` 0 `
117
119
| [ ` offset ` ] ( #styling ) | ` number ` | Yes | Yes | ` 0 `
@@ -137,6 +139,7 @@ The style of each arc can be controlled with the following properties:
137
139
| ---- | ----
138
140
| ` backgroundColor ` | arc background color.
139
141
| ` borderColor ` | arc border color.
142
+ | ` borderJoinStyle ` | arc border join style. See [ MDN] ( https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin ) .
140
143
| ` borderWidth ` | arc border width (in pixels).
141
144
| ` offset ` | arc offset (in pixels).
142
145
| ` spacing ` | Fixed arc offset (in pixels). Similar to ` offset ` but applies to all arcs.
@@ -165,6 +168,7 @@ The interaction with each arc can be controlled with the following properties:
165
168
| ---- | -----------
166
169
| ` hoverBackgroundColor ` | arc background color when hovered.
167
170
| ` hoverBorderColor ` | arc border color when hovered.
171
+ | ` hoverBorderJoinStyle ` | arc border join style when hovered. See [ MDN] ( https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin ) .
168
172
| ` hoverBorderWidth ` | arc border width when hovered (in pixels).
169
173
| ` hoverOffset ` | arc offset when hovered (in pixels).
170
174
0 commit comments