How do I set up a stack by type, such as Range or Box?

53 Views Asked by At

I am trying to create a graph using vis-timeline.

I would like to use subgroup or something similar to set up stacking for Range and Box of the same type and non-stacking for another type.

For example, assume the following enter image description here

Is it possible to achieve this with the latest vis-timeline library? And how can I make it happen?

I tried to separate subgroups by type and set the stackSubgroups property, but I get the following display. enter image description here

0

There are 0 best solutions below