]> git.ipfire.org Git - thirdparty/Chart.js.git/commitdiff
Update docs file for start angle and sweep properties
authorEvert Timberg <evert.timberg+github@gmail.com>
Sun, 17 Apr 2016 01:10:31 +0000 (21:10 -0400)
committerEvert Timberg <evert.timberg+github@gmail.com>
Sun, 17 Apr 2016 01:10:31 +0000 (21:10 -0400)
docs/06-Pie-Doughnut-Chart.md

index c699280069abf644ce8156be3fb49e8c15b55881..64fd9b8a42eb9a964136ab2f56ff054282385c69 100644 (file)
@@ -73,6 +73,8 @@ These are the customisation options specific to Pie & Doughnut charts. These opt
 Name | Type | Default | Description
 --- | --- | --- | ---
 cutoutPercentage | Number | 50 - for doughnut, 0 - for pie | The percentage of the chart that is cut out of the middle.
+rotation | Number | -0.5 * Math.PI | Starting angle to draw arcs from
+circumference | Number | 2 * Math.PI | Sweep to allow arcs to cover
 scale | Array | [See Scales](#scales) and [Defaults for Radial Linear Scale](#getting-started-radial-linear-scale) | Options for the one scale used on the chart. Use this to style the ticks, labels, and grid.
 *scale*.type | String |"radialLinear" | As defined in ["Radial Linear"](#scales-radial-linear-scale).
 *scale*.lineArc | Boolean | true | When true, lines are arced compared to straight when false.