Différences entre les versions de « Utilisateur:Dieudo/test »
(pBubble pScatter) |
|||
Ligne 104 : | Ligne 104 : | ||
Administration,1,1 | Administration,1,1 | ||
}} | }} | ||
|- | |||
|Radar chart filled (using parser function syntax) | |||
<pre> | |||
{{#pBubble: size=400x300|striped|filled|data= | |||
,Allocated Budget,Actual Spending | |||
Sales,4,5 | |||
Marketing,2,5 | |||
Development,6,1 | |||
Customer Support,2,1 | |||
IT,3,2 | |||
Administration,1,1 | |||
}} | |||
</pre> | |||
|{{#pBubble: size=400x300|striped|filled|data= | |||
,Allocated Budget,Actual Spending | |||
Sales,4,5 | |||
Marketing,2,5 | |||
Development,6,1 | |||
Customer Support,2,1 | |||
IT,3,2 | |||
Administration,1,1 | |||
}} | |||
|- | |||
|Radar chart filled (using parser function syntax) | |||
<pre> | |||
<pScatter ymin=0 ymax=10000 axiscolor=888888 cubic filled | |||
angle=90 plots legend> | |||
,US,EU | |||
Jan,6748,4301 | |||
Feb,3911,5019 | |||
Mar,3019,3941 | |||
Apr,4810,6412 | |||
May,2203,4823 | |||
Jun,4510,4110 | |||
Jul,3918,5510 | |||
Aug,8810,2930 | |||
Sep,7182,3504 | |||
Oct,6911,3881 | |||
Nov,6749,4761 | |||
Dec,7184,4918 | |||
</pScatter> | |||
</pre> | |||
|<pScatter ymin=0 ymax=10000 axiscolor=888888 cubic filled | |||
angle=90 plots legend> | |||
,US,EU | |||
Jan,6748,4301 | |||
Feb,3911,5019 | |||
Mar,3019,3941 | |||
Apr,4810,6412 | |||
May,2203,4823 | |||
Jun,4510,4110 | |||
Jul,3918,5510 | |||
Aug,8810,2930 | |||
Sep,7182,3504 | |||
Oct,6911,3881 | |||
Nov,6749,4761 | |||
Dec,7184,4918 | |||
</pScatter> | |||
|} | |} |
Version du 18 février 2017 à 11:44
test <:3
https://www.mediawiki.org/wiki/Extension:PChart4mw
Sample charts
Here are some simple samples of what you can do with pChart for MediaWiki:
Wiki Markup | Display |
---|---|
Simple bar chart (histogram) with legend (using tag syntax)
<pbars size=300x150 title="Site Visitors" ymin=0 ymax=10000 legend> ,Europe,United States,Asia Oct,5345,3110,1291 Nov,3452,3695,1047 Dec,7843,4712,1305 </pbars> |
<pbars size=300x150 title="Site Visitors"
ymin=0 ymax=10000 legend> ,Europe,United States,Asia Oct,5345,3110,1291 Nov,3452,3695,1047 Dec,7843,4712,1305 </pbars> |
Simple pie chart (using parser function syntax)
{{#pPie: exploded|3d|data= Sales,43 Marketing,21 Development,56 Customer Support,23 Information Technology,31 Administration,13 }} |
3d|data=
Sales,43 Marketing,21 Development,56 Customer Support,23 Information Technology,31 Administration,13 }} |
Line chart filled and rounded (using tag syntax)
<pLines ymin=0 ymax=10000 axiscolor=888888 cubic filled angle=90 plots legend> ,US,EU Jan,6748,4301 Feb,3911,5019 Mar,3019,3941 Apr,4810,6412 May,2203,4823 Jun,4510,4110 Jul,3918,5510 Aug,8810,2930 Sep,7182,3504 Oct,6911,3881 Nov,6749,4761 Dec,7184,4918 </pLines> |
<pLines ymin=0 ymax=10000 axiscolor=888888 cubic filled
angle=90 plots legend> ,US,EU Jan,6748,4301 Feb,3911,5019 Mar,3019,3941 Apr,4810,6412 May,2203,4823 Jun,4510,4110 Jul,3918,5510 Aug,8810,2930 Sep,7182,3504 Oct,6911,3881 Nov,6749,4761 Dec,7184,4918 </pLines> |
Radar chart filled (using parser function syntax)
{{#pRadar: size=300x200|striped|filled|data= ,Allocated Budget,Actual Spending Sales,4,5 Marketing,2,5 Development,6,1 Customer Support,2,1 IT,3,2 Administration,1,1 }} |
striped|filled|data=
,Allocated Budget,Actual Spending Sales,4,5 Marketing,2,5 Development,6,1 Customer Support,2,1 IT,3,2 Administration,1,1 }} |
Radar chart filled (using parser function syntax)
{{#pBubble: size=400x300|striped|filled|data= ,Allocated Budget,Actual Spending Sales,4,5 Marketing,2,5 Development,6,1 Customer Support,2,1 IT,3,2 Administration,1,1 }} |
striped|filled|data=
,Allocated Budget,Actual Spending Sales,4,5 Marketing,2,5 Development,6,1 Customer Support,2,1 IT,3,2 Administration,1,1 }} |
Radar chart filled (using parser function syntax)
<pScatter ymin=0 ymax=10000 axiscolor=888888 cubic filled angle=90 plots legend> ,US,EU Jan,6748,4301 Feb,3911,5019 Mar,3019,3941 Apr,4810,6412 May,2203,4823 Jun,4510,4110 Jul,3918,5510 Aug,8810,2930 Sep,7182,3504 Oct,6911,3881 Nov,6749,4761 Dec,7184,4918 </pScatter> |
<pScatter ymin=0 ymax=10000 axiscolor=888888 cubic filled
angle=90 plots legend> ,US,EU Jan,6748,4301 Feb,3911,5019 Mar,3019,3941 Apr,4810,6412 May,2203,4823 Jun,4510,4110 Jul,3918,5510 Aug,8810,2930 Sep,7182,3504 Oct,6911,3881 Nov,6749,4761 Dec,7184,4918 </pScatter> |