Content deleted Content added
Why would an outdated extension with security issues have been more suitable? |
|||
(14 intermediate revisions by 9 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 41:
| {{nowrap|group names}} || names of different groups
|-
| {{nowrap|y tick marks}} || number of tick marks on the y axis.
|}
==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 110 ⟶ 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 272 ⟶ 242:
===Examples===
<pre>
{{#invoke:Chart|pie chart
Line 284 ⟶ 255:
| percent = true
}}
▲</pre>
{{#invoke:Chart|pie chart
| radius = 150
Line 303 ⟶ 268:
| percent = true
}}
<pre>
Line 372 ⟶ 334:
| percent = true
}}
<noinclude>
[[Category:Module documentation pages]]
</noinclude>
|