Test: Difference between revisions

From MassiveCraft Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 19: Line 19:
   bar:Leaders color:lavender width:40 mark:(line,white) align:left fontsize:M
   bar:Leaders color:lavender width:40 mark:(line,white) align:left fontsize:M


   from:-14 till:36 shift:($dx,0)  text:Emperor Theon I
   from:-14 till:36 shift:($dx,-15)  text:Emperor Theon I
   from:36 till:72 shift:($dx,0)  text:Emperor Alfred I
   from:36 till:72 shift:($dx,-15)  text:Emperor Alfred I
   from:72 till:104 shift:($dx,0)  text:Emperor Heinrich I
   from:72 till:104 shift:($dx,-15)  text:Emperor Heinrich I
   from:104 till:156 shift:($dx,0)  text:Emperor Immanuel I
   from:104 till:156 shift:($dx,-15)  text:Emperor Immanuel I
   from:156 till:170 shift:($dx,0)  text:Emperor Justinian I
   from:156 till:170 shift:($dx,5)  text:Emperor Justinian I
 
  from:170 till:175 shift:($dx,-15)  text:Emperor Martin I
   from:200 till:230 shift:($dx,0)  text:Emperor Harold I  
  from:175 till:220 shift:($dx,5)  text:Emperor Alfred II
   from:230 till:302 shift:($dx,0)  text:Emperor Justinian II  
   from:220 till:250 shift:($dx,0)  text:Emperor Harold I  
   from:250 till:302 shift:($dx,0)  text:Emperor Justinian II  
</timeline>
</timeline>

Revision as of 10:32, 20 May 2014

<timeline>

  1. All measures are in pixels

ImageSize = width:1600 height:200 PlotArea = left:100 right:100 bottom:130 top:20 AlignBars = justify

DateFormat = yyyy Period = from:-50 till:305 TimeAxis = orientation:horizontal ScaleMajor = unit:year increment:5 start:-50

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

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

PlotData=

 bar:Leaders color:lavender width:40 mark:(line,white) align:left fontsize:M
 from:-14 till:36 shift:($dx,-15)   text:Emperor Theon I
 from:36 till:72 shift:($dx,-15)   text:Emperor Alfred I
 from:72 till:104 shift:($dx,-15)   text:Emperor Heinrich I
 from:104 till:156 shift:($dx,-15)   text:Emperor Immanuel I
 from:156 till:170 shift:($dx,5)   text:Emperor Justinian I
 from:170 till:175 shift:($dx,-15)   text:Emperor Martin I
 from:175 till:220 shift:($dx,5)   text:Emperor Alfred II
 from:220 till:250 shift:($dx,0)   text:Emperor Harold I 
 from:250 till:302 shift:($dx,0)   text:Emperor Justinian II 

</timeline>