-
Notifications
You must be signed in to change notification settings - Fork 1.5k
Stacking options for groups/subgroups/items #620
Comments
@josdejong maybe we could look into setting stacking per group? |
@AlexDM0 I guess you mean stacking per subgroup, stacking works already fine for groups (see example). Yes, that makes sense. |
Hi, I think you misunderstood, I ment to select on a group to group basis if you want to use automatic stacking OR the subgroups. Regards |
Ah ok, so you can choose per group whether you want stacking or subgroups or no stacking. Sounds good. |
Thanks, that will be a great enhancement! |
👍 |
@josdejong did you have time to work on this? |
I haven't yet worked on it, it's still on the list. Unless we want a hacky solution, it will involve a serious refactoring of the subgroups. |
Thanks, I will have a look a little bit later. |
I just ran into the need for this feature. Can't wait until it's added. |
Hi all, not sure if this would help
result: |
I just tried this and it is a perfectly acceptable solution for my specific Thanks. On Mon, Jan 4, 2016 at 6:57 AM, odick notifications@github.com wrote:
|
A workaround I've just implemented is to turn stacking off (globally) but then create "fake" subgroups for the items you do want to stack within a group. Just increment or randomise a subgroup ID as you add items in the "stacked group" - or use something unique from the item data to separate them. You could get clever and limit the stacking to say four rows max (then of course this is starting to sound like properly sub-grouping and ordering them with some item semantics). I would like this stackable-per-group feature too, but find this workaround so simple to implement it suffices. |
Any news on if and when this feature will be implemented? |
This can be done with what @scipilot suggested. see : http://visjs.org/examples/timeline/items/expectedVsActualTimesItems.html |
I love this feature, but...it would be nice if it had some kind of binding to the item that is on top. |
I would like to specify more stacking options. For example some items (or group of items) I'd like to stack, while others I would not.
As you can see with the below image, the bottom row shouldn't stack as it represents continuous time of different conditions, while the subgroup above are single events that I'd like to stack.
![image](https://cloud.githubusercontent.com/assets/5885418/6074663/73aaa0a8-ad91-11e4-9e21-47cfd071329d.png)
The text was updated successfully, but these errors were encountered: