Module:Chart/doc: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 83:
| group names = Apple : Banana : Orange
| x legends = Before : During : After : Post mortem
}}
 
 
It is possible to show each of the groups using different scale and units:
 
<nowiki>{{ #invoke:Chart | bar-chart
| width = 800
| group 1 = 1500000 : 2500000 : 3500000
| group 2 = 200 : 5000 : 20000
| group 3 = 2000 : 5000 : 20000
| colors = red : blue : green
| group names = People : Cars : Average car cost
| x legends = 1920 : 1965 : 2002
| units prefix = : : $
| scale per group = 1
}}</nowiki>
 
{{ #invoke:Chart | bar-chart
| width = 800
| group 1 = 1500000 : 2500000 : 3500000
| group 2 = 200 : 5000 : 20000
| group 3 = 2000 : 5000 : 20000
| colors = red : blue : green
| group names = People : Cars : Average car cost
| x legends = 1920 : 1965 : 2002
| units prefix = : : $
| scale per group = 1
}}