Template:PieChart/Lua/doc

Description
Calculates the correct starting positions for PieChart in Module:Util and allows to split the remainder of the chart.

Syntax
Same parameter as PieChart.

PieChart/Entry gets called through these parameters.
 * X = X is a number starting from 1, used for the percentage value
 * colorX = Color for segment X
 * textX = Text for segment X
 * restX = number to split the remaining of the circle, e.g: if rest1 is 1 and rest2 is 2, than it is a 2/1 split
 * restX_color = Color for restX
 * restX_text = Text for restX

Samples
Same example as on PieChart but replaced last entry with rest1 (if there is only 1 rest the value of rest1 doesn't matter).

Whole circle is split into 3 parts, 1 for blue and 2 for red.