Mal:Norske konger i tidlig middelalder

Fra Wikisida.no
Hopp til navigering Hopp til søk
Norske konger i tidlig middelalder.
<timeline>
  1. All measures all in pixels

ImageSize = width:240 height:610 PlotArea = width: 26 height:530 left:50 bottom:70 # alignment is wrong when plotarea width (25) equals bar width (25)

                                                   # will be fixed in next EasyTimeline update  

AlignBars = early

Legend = columns:1 left:20 top:40 columnwidth:300

Colors =

id:norsk value:blue legend:Norsk_styre
id:dansk value:red legend:Dansk_styre

DateFormat = yyyy Period = from:872 till:1130 TimeAxis = orientation:vertical ScaleMajor = unit:year increment:10 start:872

  1. there is no automatic collision detection,
  2. so shift texts up or down manually to avoid overlap

Define $dx = 25 # shift text to right side of bar


PlotData=

 bar:Leaders width:25 mark:(line,white) align:left fontsize:S
 from:872  till:931 shift:($dx,0)   color:norsk text:Harald Haarfagre
 from:931  till:933 shift:($dx,0)   color:norsk text:Eirik Blodoks
 from:933  till:960 shift:($dx,0)  color:norsk text:Håkon den gode
 from:960  till:970 shift:($dx,0)  color:norsk text:Harald Gråfell
 from:970 till:995 shift:($dx,0) color:dansk text:Håkon Ladejarl
 from:995 till:1000 shift:($dx,0) color:norsk text:Olav Tryggvason
 from:1000 till:1012 shift:($dx,0) color:dansk text:Svein og Eirik Ladejarler
 from:1012 till:1015 shift:($dx,-3) color:dansk text:Håkon Eiriksson Ladejarl
 from:1015 till:1028 shift:($dx,0) color:norsk text:Olav den hellige
 from:1028 till:1030 shift:($dx,-3) color:dansk text:Håkon Eiriksson Ladejarl
 from:1030 till:1035 shift:($dx,0) color:dansk text:Svein Knutsson
 from:1035 till:1047 shift:($dx,0) color:norsk text:Magnus den gode
 from:1045 till:1066 shift:($dx,0) color:norsk text:Harald Hardråde
 from:1066 till:1069 shift:($dx,0) color:norsk text:Magnus Haraldsson
 from:1067 till:1093 shift:($dx,0) color:norsk text:Olav Kyrre
 from:1093 till:1095 shift:($dx,0) color:norsk text:Måkon Magnusson Toresfostre
 from:1093 till:1103 shift:($dx,0) color:norsk text:Magnus Berrføtt
 from:1103 till:1115 shift:($dx,0) color:norsk text:Olav Magnusson
 from:1103 till:1123 shift:($dx,0) color:norsk text:Øystein Magnusson
 from:1103 till:1130 shift:($dx,0) color:norsk text:Sigurd Jorsalfare

</timeline>

Forklaring: