Content deleted Content added
Undid revision 971594933 by UnLeashedWolfie (talk) |
Why would an outdated extension with security issues have been more suitable? |
||
(6 intermediate revisions by 6 users not shown) | |||
Line 1:
{{high-use|850}}
{{Template display|badmobile}}
Module Chart exports two functions: bar chart and pie chart
==Drawing Bar charts: "bar chart"==
Line 43:
| {{nowrap|y tick marks}} || number of tick marks on the y axis. if the value is negative or omitted, the module will attempt to automatically calculate a sensible number of tick marks.
|}
==Display in the mobile view==
Bar charts behave unpredictably, causing problems with the axes and legend. Use [[Template:Graph:Chart]] instead. {{dubious span |date=July 2023 |Pie charts aren't too bad.}}
===Examples===
Line 240 ⟶ 243:
===Examples===
<pre>
{{#invoke:Chart|pie chart
| radius = 150
Line 251 ⟶ 255:
| percent = true
}}
</pre>
{{#invoke:Chart|pie chart
Line 265 ⟶ 269:
}}
<pre>
{{#invoke:chart|pie chart
|radius= 200
Line 299 ⟶ 301:
| percent = true
}}
</pre>
{{#invoke:
|radius= 200
|units suffix = _Units
Line 331 ⟶ 334:
| percent = true
}}
<noinclude>
[[Category:Module documentation pages]]
</noinclude>
|