Content deleted Content added
remove redundancy |
Why would an outdated extension with security issues have been more suitable? |
||
(20 intermediate revisions by 12 users not shown) | |||
Line 1:
{{high-use|850}}
{{Template display|badmobile}}
Module Chart exports two functions: bar chart and pie chart
Line 38 ⟶ 40:
|-
| {{nowrap|group names}} || names of different groups
|-
| {{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 106 ⟶ 113:
====Scale per group====
<pre>▼
This option has been disabled. It was rarely used and broke in the last code update.
Here is an example with large number of groups - mainly to test how it looks with large number of legends:
Line 268 ⟶ 242:
===Examples===
<pre>
{{#invoke:Chart|pie chart
Line 280 ⟶ 255:
| percent = true
}}
▲</pre>
{{#invoke:Chart|pie chart
| radius = 150
Line 299 ⟶ 268:
| percent = true
}}
<pre>
Line 368 ⟶ 334:
| percent = true
}}
<noinclude>
[[Category:Module documentation pages]]
</noinclude>
|