Module:Chart/doc: Difference between revisions

Content deleted Content added
No edit summary
Line 248:
{{#invoke:Chart|pie chart
| radius = 200
| slices =
( 100 : Apples )
( 200 : Bananas )
( 144 : Apricots )
( 60 : Pear :brown : [[Pear]] )
( 75 : Pineapple : gold )
| units suffix = _Kg
| percent = true
}}
 
Note that we can leave the color empty to use the default, but in order to add the link to "Pear",
we had to mark the parameter by adding an extra delimiter to mark the omitted color parameter
</pre>
{{#invoke:Chart|pie chart
| radius = 200
| slices =
( 100 : Apples )
( 200 : Bananas )
( 144 : Apricots )
( 60 : Pear : brown : [[Pear]] )
( 75 : Pineapple : gold )
| units suffix = _Kg
| percent = true