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/charts/doughnut.md
+2-1Lines changed: 2 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -149,7 +149,8 @@ The style of each arc can be controlled with the following properties:
149
149
| `borderJoinStyle` | arc border join style. See [MDN](https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/lineJoin).
150
150
| `borderWidth` | arc border width (in pixels).
151
151
| `offset` | arc offset (in pixels).
152
-
| `spacing` | Fixed arc offset (in pixels). Similar to `offset` but applies to all arcs.
152
+
| `spacing` | Fixed arc (slice) offset (in pixels). Similar to `offset` but applies to all slices.
153
+
| `datasetSpacing` | Fixed spacing between datasets (in pixels). This property only applies to multi-dataset doughnut/pie charts. It adjusts the spacing between concentric rings of data, allowing better visual separation between datasets.
153
154
| `weight` | The relative thickness of the dataset. Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.
154
155
155
156
All these values, if `undefined`, fallback to the associated [`elements.arc.*`](../configuration/elements.md#arc-configuration) options.
0 commit comments