Predloga:Graph:Chart/testniprimeri

Iz Wikipedije, proste enciklopedije
Line chart
{{Graph:Chart|height=100|type=line|width=400|x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,10,7,9}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Area chart
{{Graph:Chart|height=100|type=area|width=400|x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,10,7,9}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Bar chart
{{Graph:Chart|height=100|type=rect|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y=10,12,6,14,2,10,7,9|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Line chart - semilog in y with zeroes (no failsafe for log(0))
{{Graph:Chart|height=200|type=line|width=400|x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,0,7,9|yScaleType=log}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Line chart - semilog in y with zeroes (yAxisMin protection)
{{Graph:Chart|height=200|type=line|width=400|x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,0,7,9|yAxisMin=1|yScaleType=log}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Line chart with multiple data series
{{Graph:Chart|colors=#0000aa,#ff8000|height=100|legend=Legend|type=line|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y1=10,12,6,14,2,10,7,9|y2=2,4,6,8,13,11,9,2|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Line chart with symbols
{{Graph:Chart|height=100|showSymbols=true|type=line|width=400|x=1,2,3,4,5,6,7,8|y=10,12,6,14,2,10,7,9}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Line chart with multiple data series and symbols
{{Graph:Chart|colors=#0000aa,#ff8000|height=100|legend=Legend|showSymbols=true|type=line|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y1=10,12,6,14,2,10,7,9|y2=2,4,6,8,13,11,9,2|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Area chart with multiple data series
{{Graph:Chart|colors=#800000aa,#80ff8000|height=100|legend=Legend|type=area|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y1=10,12,6,14,2,10,7,9|y2=2,4,6,8,13,11,9,2|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Bar chart with multiple data series
{{Graph:Chart|colors=#800000aa,#80ff8000|height=100|legend=Legend|type=rect|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y1=10,12,6,14,2,10,7,9|y2=2,4,6,8,13,11,9,2|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Area chart with smoothed data values
{{Graph:Chart|colors=seagreen, orchid|height=100|interpolate=monotone|legend=Legend|type=stackedarea|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y1=10,12,6,14,2,10,7,9|y2=2,4,6,8,13,11,9,2|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Bar chart with text
{{Graph:Chart|height=100|showValues=true|type=rect|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y=10,12,6,14,2,10,7,9|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Bar chart with text offset
{{Graph:Chart|height=100|showValues=offset:1|type=rect|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y=10,12,6,14,2,10,7,9|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Bar chart with stacked data series
{{Graph:Chart|colors=seagreen, orchid|height=100|legend=Legend|type=stackedrect|width=400|x=1,2,3,4,5,6,7,8|xAxisTitle=X|y1=10,12,6,14,2,10,7,9|y1Title=Data A|y2=2,4,6,8,13,11,9,2|y2Title=Data B|yAxisTitle=Y}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Pie chart
{{Graph:Chart|height=100|legend=Legende|type=pie|width=100|x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Pie chart with text
{{Graph:Chart|height=100|legend=Legende|showValues=|type=pie|width=100|x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Pie chart with variable radius
{{Graph:Chart|height=100|legend=Legende|showValues=|type=pie|width=100|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}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}

Donut chart
{{Graph:Chart|height=100|innerRadius=40|legend=Legende|type=pie|width=100|x=A,B,C,D,E,F,G,H,I|y1=100,200,150,300,100,100,150,50,200}}

{{Graph:Chart}}

{{Graph:Chart/peskovnik}}