Template:Referendum graph/doc
Jump to navigation
Jump to search
| This is a documentation subpage for Template:Referendum graph. It may contain usage information, categories and other content that is not part of the original template page. |
Usage
[edit source]{{Referendum graph
| yespct = 67
| nopct = 23
| turnoutpct = 10
}}
Example
[edit source]{{Referendum graph
| sipct = 79.50
| nopct = 20.50
| turnoutpct = 62.1
}}
<timeline> ImageSize = width:auto height:250 barincrement:132 PlotArea = left:50 bottom:40 top:10 right:30 AlignBars = justify Period = from:0 till:100 TimeAxis = orientation:vertical ScaleMinor = start:0 increment:10
Colors =
id:Yes value:rgb(0.278,0.447,0.620) legend:Yes id:No value: rgb(0.545,0.545,0.329) legend:No id:Turnouttotal value:tan1 id:Turnout value:tan2
PlotData=
color:Yes width:50 bar:Result from:start till:79.50 at:50 mark:(line,white)
color:No width:50 bar:Result from:79.50 till:100 at:50 mark:(line,white)
color:Turnouttotal width:20 bar:Turnout from:start fontsize:M till:100 at:50 mark:(line,black)
color:Turnout width:20 bar:Turnout from:start till:62.1
at:7 shift:-155,-5 fontsize:M text:79.50% at:93 shift:-155,-5 fontsize:M text:20.50% at:50 shift:-137,-5 fontsize:S text: 50 "▶" at:50 shift:-24,-5 fontsize:S text: "▶" at:7 shift:-47,-5 fontsize:S text:62.1%
Legend = orientation:vertical columns:1 top:20 left: 45
</timeline>
See also
[edit source]