Bar charts

Offline MediaWiki Code Editor

Bar Charts
Previous Top Next

Bar Chart with One Data Series

{{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}}

graphic


Bar Chart with Multiple Data Series

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

graphic


Bar Chart with Stacked Data Series

{{Graph:Chart|width=400|height=100|xAxisTitle=X|yAxisTitle=Y|
legend=Legend|type=stackedrect|x=1,2,3,4,5,6,7,8|y1=10,12,6,14,2,
10,7,9|y2=2,4,6,8,13,11,9,2|y1Title=DataA|y2Title=DataB|colors= seagreen, orchid}}

graphic