visjs / vis-timeline

📅 Create a fully customizable, interactive timelines and 2d-graphs with items and ranges.
https://visjs.github.io/vis-timeline/
Other
1.89k stars 321 forks source link

feature request: add item on the same line as an other one #774

Open Grummfy opened 4 years ago

Grummfy commented 4 years ago

hi, regarding visjs timeline, a nice feature would be to have the possibility to add some items in the same line as other.

Example : I have a box, then 3 month after the end of the box I would like to add a point. But, following your stack, group, subgroup, etc configuration, you have no way to be sure that the point will be on the same line.

razbensimon commented 4 years ago

Why not? I don't fully understand what is "line" for you, but you can achieve what you want with stack: false ( false => items can overlap => items in same data row)

Grummfy commented 4 years ago

I don't really want to use the stack.

The idea is to have a timeline for a roadmap

I don't care that some element are on the same horizontal line, but I would like to have the box with the project, then a point in the future with the release date.

But stack = false, make it like a huge pile and it's quiete unusable

yotamberk commented 4 years ago

you can implement this with subroups stacking

Grummfy commented 4 years ago

for me it's not totally the same., because a subgroup stacking, as I understand will block the horizontal line, and then take more vertical space.