February 2019
Beginner to intermediate
284 pages
6h 20m
English
Common configuration options are inherited for pie charts, but there are also some options that are specific to pie and doughnut charts. These are listed in the following table:
|
Property |
Value |
Description |
|
cutoutPercentage |
Number. Defaults: 0 for 'pie', and '50' for doughnut |
A percentage of the chart that is cut out from the middle |
|
rotation |
Number. Default: -0.5 * Math.PI |
The starting angle to draw the arcs |
|
circumference |
Number. Default: 2 * Math.PI |
The circumference of the pie |
These options are merged (and override) global configuration options. Default options for each type of chart can also be set through the Chart.defaults.doughnut ...
Read now
Unlock full access