Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
visjs タイムラインを使用してグループ名 (ID) を縦方向 (中央) に揃える方法。
visjs.org
グループの高さは、ラベルの高さと (積み上げられた) アイテムの高さの最大値から決定されるため、これは実際には不可能です。
ただし、グループの高さが既知の場合 (アイテムのスタックを使用しない場合など)、グループ ラベルの CSS に一致する固定の高さを与え、CSS を追加してテキストを中央に揃えることができます。