Mall:Diagramm
- Selle malli dokumentatsioon on liidetud lehelt Mall:Diagramm/doc (redigeeri | ajalugu).
Malli ingliskeelse dokumentatsiooni leiad siit: en:Template:Graph:Chart.
Näited[muuda lähteteksti]
Line Chart:
{{Graph:Chart | width=400 | height=100 | type=line | x=1,2,3,4,5,6,7,8 | y=10,12,6,14,2,10,7,9 }}
Note: The y-axis starts from the smallest y value, though this can be overridden with the yAxisMin parameter.
Area chart:
Note: The y-axis starts from zero
Bar chart:
{{Graph:Chart | width = 400 | height = 100 | xAxisTitle = X | yAxisTitle = Y | type = rect | x = 1,2,3,4,5,6,7,8 | y = 10,12,6,14,2,10,7,9 }}
Line chart with more than one data series, using colors:
Area chart with more than one data series showing blended overlap:
Bar chart with multiple data series:
Area chart with smoothed data values:
Bar chart with stacked data series:
{{Graph:Chart|width=100|height=100|type=pie|legend=Legende|x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200}}
{{Graph:Chart|width=100|height=100|type=pie|legend=Legende|x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200|showValues=}}
{{Graph:Chart|width=100|height=100|type=pie|legend=Legende|x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200|y2=7,8,9,8,8,9,10,9,5|showValues=}}
{{Graph:Chart|width=100|height=100|type=pie|innerRadius=40|legend=Legende|x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200}}