woollights / simile-widgets

Automatically exported from code.google.com/p/simile-widgets
0 stars 0 forks source link

Move Location of Dates Along Bottom of Band #429

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Is there any way to move the dates along the bottom of a timeline band up so 
they are aligned to the top rather than the bottom?

Thanks

Original issue reported on code.google.com by hannah.s...@gmail.com on 6 Mar 2011 at 4:30

GoogleCodeExporter commented 8 years ago

Original comment by ryan...@csail.mit.edu on 23 Jun 2011 at 9:56

GoogleCodeExporter commented 8 years ago
Yes, include 
align : 'Top'
in the options you pass to createBandInfo:

Timeline.createBandInfo({
  width:          "45%", 
  intervalUnit:   Timeline.DateTime.DECADE, 
  intervalPixels: 200,
  align:'Top',
  eventSource:    eventSource,
  date:           d,
  theme:          theme
})

Original comment by mno...@mac.com on 16 Sep 2011 at 7:43