1

How to vertically align (middle) the group names (IDs) using the visjs Timeline.

visjs.org

laaposto
  • 11,835
  • 15
  • 54
  • 71
John Doe
  • 9,843
  • 13
  • 42
  • 73

1 Answers1

1

This isn't really possible as the height of a group is determined from the max of the label height and the (stacked) items height.

If your groups have a known height though (like if you don't use stacking of items), you could just give the CSS of the group labels a matching fixed height, and add CSS to align the text to the middle.

Jos de Jong
  • 6,602
  • 3
  • 38
  • 58