public pie(values as IList<Double>, labels as IList<String> = null, explode as IList<Double> = null, autopct as String = "", shadow as Boolean = false, startAngle as Double = 0.0, counterClockwise as Boolean = true, colors as IList<String> = null) as Void
Displays a circular pie from copied, non-negative weights in list order. Replaces an existing pie; call clear() before switching between pies and Cartesian series. Axes, axis limits and grid lines do not apply to pies. Weights are normalized safely even when their unscaled sum would overflow.
| Parameter | Description |
|---|---|
values | Non-empty finite weights, at least one strictly positive. |
labels | Optional external labels, with the same length as values. |
explode | Optional finite, non-negative sector offsets in radius units. |
autopct | Empty to hide percentages, otherwise one %f or %.nf conversion with 0..12 decimal places, literal text and escaped %%. Percentage labels round halfway values upwards. |
shadow | Draw darker sector silhouettes displaced by 2% of the radius. |
startAngle | Initial angle in degrees, counterclockwise from the right. |
counterClockwise | Whether sectors advance counterclockwise. |
colors | Optional non-empty cycle of color strings, copied on insertion. |