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
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -55,12 +55,21 @@ The doughnut/pie chart allows a number of properties to be specified for each da
55
55
56
56
| Name | Type | Description
57
57
| ---- | ---- | -----------
58
-
| `backgroundColor` | `Color[]` | The fill color of the arcs in the dataset. See [Colors](../general/colors.md#colors).
59
-
| `borderColor` | `Color[]` | The border color of the arcs in the dataset. See [Colors](../general/colors.md#colors).
60
-
| `borderWidth` | `Number[]` | The border width of the arcs in the dataset.
61
-
| `hoverBackgroundColor` | `Color[]` | The fill colour of the arcs when hovered.
62
-
| `hoverBorderColor` | `Color[]` | The stroke colour of the arcs when hovered.
63
-
| `hoverBorderWidth` | `Number[]` | The stroke width of the arcs when hovered.
58
+
| `backgroundColor` | `Color/Color[]` | The fill color of the arcs in the dataset. See [Colors](../general/colors.md#colors).
59
+
| `borderColor` | `Color/Color[]` | The border color of the arcs in the dataset. See [Colors](../general/colors.md#colors).
60
+
| `borderWidth` | `Number/Number[]` | The border width of the arcs in the dataset.
61
+
| `borderAlign` | `String/String[]` | The border alignment of the arcs in the dataset. [more...](#border-alignment)
62
+
| `hoverBackgroundColor` | `Color/Color[]` | The fill colour of the arcs when hovered.
63
+
| `hoverBorderColor` | `Color/Color[]` | The stroke colour of the arcs when hovered.
64
+
| `hoverBorderWidth` | `Number/Number[]` | The stroke width of the arcs when hovered.
65
+
66
+
### Border Alignment
67
+
68
+
The following values are supported for `borderAlign`.
69
+
*`'center'` (default)
70
+
*`'inner'`
71
+
72
+
When `'center'` is set, the borders of arcs next to each other will overlap. When `'inner'` is set, it is guaranteed that all the borders are not overlap.
Copy file name to clipboardExpand all lines: docs/charts/polar.md
+15-6Lines changed: 15 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -46,12 +46,21 @@ The following options can be included in a polar area chart dataset to configure
46
46
47
47
| Name | Type | Description
48
48
| ---- | ---- | -----------
49
-
| `backgroundColor` | `Color[]` | The fill color of the arcs in the dataset. See [Colors](../general/colors.md#colors).
50
-
| `borderColor` | `Color[]` | The border color of the arcs in the dataset. See [Colors](../general/colors.md#colors).
51
-
| `borderWidth` | `Number[]` | The border width of the arcs in the dataset.
52
-
| `hoverBackgroundColor` | `Color[]` | The fill colour of the arcs when hovered.
53
-
| `hoverBorderColor` | `Color[]` | The stroke colour of the arcs when hovered.
54
-
| `hoverBorderWidth` | `Number[]` | The stroke width of the arcs when hovered.
49
+
| `backgroundColor` | `Color/Color[]` | The fill color of the arcs in the dataset. See [Colors](../general/colors.md#colors).
50
+
| `borderColor` | `Color/Color[]` | The border color of the arcs in the dataset. See [Colors](../general/colors.md#colors).
51
+
| `borderWidth` | `Number/Number[]` | The border width of the arcs in the dataset.
52
+
| `borderAlign` | `String/String[]` | The border alignment of the arcs in the dataset. [more...](#border-alignment)
53
+
| `hoverBackgroundColor` | `Color/Color[]` | The fill colour of the arcs when hovered.
54
+
| `hoverBorderColor` | `Color/Color[]` | The stroke colour of the arcs when hovered.
55
+
| `hoverBorderWidth` | `Number/Number[]` | The stroke width of the arcs when hovered.
56
+
57
+
### Border Alignment
58
+
59
+
The following values are supported for `borderAlign`.
60
+
*`'center'` (default)
61
+
*`'inner'`
62
+
63
+
When `'center'` is set, the borders of arcs next to each other will overlap. When `'inner'` is set, it is guaranteed that all the borders are not overlap.
0 commit comments