Vorlage:Zeitleiste Bündnis 90/Die Grünen bei Landtagswahlen Schleswig-Holstein

aus Wikipedia, der freien Enzyklopädie

<timeline>

  1. Erst mal die Farben definieren, die ich verwende

Colors=

id:Wahl  value:Green           legend:Wähleranteil_Landtagswahl
id:Si    value:skyblue       legend:Sitze_im_Landtag
id:grau  value:gray(0.8)
id:weiss value:White
  1. Dann als nächstes das Bild

ImageSize = width:700px height:620px # * Größe des Gesamtbildes PlotArea = left:70px right:10px top:30px bottom:50px # * Plotfläche für Timeline durch Ränder definiert Legend = columns:4 left:70px top:30px columnwidth:170px Period = from:0 till:21 # von .. bis ..

TimeAxis = orientation:horizontal # Zeitachse horizontal Alignbars = late ScaleMajor = unit:year increment:10 start:0 # Grobskalierung 10 ScaleMinor = unit:year increment:1 start:0 gridcolor:grau

PlotData = # Daten für die Balken in verschiedenen Farben

shift:(0,-4) fontsize:M  width:15
bar: 1979      from:0.0  till:2.4  color:Wahl  textcolor:weiss text:"2,4 %" align:center
bar: 1979–1983 from:0.0  till:0.0  color:Si     text:"0 Sitze (0,0 %)" align:left
bar: 1983      from:0.0  till:3.6  color:Wahl   textcolor:weiss text:"3,6 %" align:center
bar: 1983–1987 from:0.0  till:0.0  color:Si    text:"0 Sitze (0,0 %)" align:left
bar: 1987      from:0.0  till:3.9  color:Wahl  textcolor:weiss text:"3,9 %"
bar: 1987–1988 from:0.0  till:0.0  color:Si    text:"0 Sitze (0,0 %)"
bar: 1988      from:0.0  till:2.9  color:Wahl  textcolor:weiss text:"2,9 %"
bar: 1988–1992 from:0.0  till:0.0  color:Si    text:"0 Sitze (0,0 %)"
bar: 1992      from:0.0  till:4.97  color:Wahl  textcolor:weiss text:"4,97 %"
bar: 1992–1996 from:0.0  till:0.0  color:Si    text:"0 Sitze (0,0 %)"
bar: 1996      from:0.0  till:8.1  color:Wahl  textcolor:weiss text:"8,1 %"
bar: 1996–2000 from:0.0  till:8.0  color:Si    text:"6 Sitze (8,0 %)"
bar: 2000      from:0.0  till:6.2  color:Wahl  textcolor:weiss text:"6,2 %"
bar: 2000–2005 from:0.0  till:5.6  color:Si    text:"5 Sitze (5,6 %)"
bar: 2005      from:0.0  till:6.2  color:Wahl  textcolor:weiss text:"6,2 %"
bar: 2005–2009 from:0.0  till:5.8  color:Si    text:"4 Sitze (5,8 %)"
bar: 2009      from:0.0  till:12.4 color:Wahl  textcolor:weiss text:"12,4 %"
bar: 2009–2012 from:0.0  till:12.6 color:Si    text:"12 Sitze (12,6 %)"
bar: 2012      from:0.0  till:13.2  color:Wahl textcolor:weiss  text:"13,2 %"
bar: 2012–2017 from:0.0  till:14.5  color:Si    text:"10 Sitze (14,5 %)"
bar: 2017      from:0.0  till:12.9  color:Wahl textcolor:weiss  text:"12,9 %"
bar: 2017–2022 from:0.0  till:13.7  color:Si    text:"10 Sitze (13,7 %)"
bar: 2022      from:0.0  till:18.3  color:Wahl textcolor:weiss  text:"18,3 %"
bar: 2022–2027 from:0.0  till:20.3  color:Si    text:"14 Sitze (20,3 %)"

TextData = # Ueberschrift

pos:(5,600) fontsize:M text:Wähleranteil_von_Bündnis 90/Die Grünen_bei_Landtagswahlen_und_Sitze_im_Landtag

TextData = # Quellenangabe

pos:(5,1) fontsize:M text:"Quelle: Der Landeswahlleiter"

</timeline>


Quelle