]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Add elements.arc.angle in documentation (#6491)
authorMatthias Perret <54006012+mp3000mp@users.noreply.github.com>
Sat, 7 Sep 2019 11:20:07 +0000 (13:20 +0200)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sat, 7 Sep 2019 11:20:07 +0000 (07:20 -0400)
Add elements.arc.angle in documentation

docs/configuration/elements.md

index ebeac79df56b3918ddeebaf172976bed4e0c439f..a74e74376ad498ac041ac58ef02143918439dff7 100644 (file)
@@ -82,6 +82,7 @@ Global arc options: `Chart.defaults.global.elements.arc`.
 
 | Name | Type | Default | Description
 | ---- | ---- | ------- | -----------
+| `angle` - for polar only | `number` | `circumference / (arc count)` | Arc angle to cover.
 | `backgroundColor` | `Color` | `'rgba(0, 0, 0, 0.1)'` | Arc fill color.
 | `borderAlign` | `string` | `'center'` | Arc stroke alignment.
 | `borderColor` | `Color` | `'#fff'` | Arc stroke color.