vasturiano / timelines-chart

Timelines Chart
http://vasturiano.github.io/timelines-chart/example/categorical/
MIT License
556 stars 121 forks source link

Overlapping Data #69

Open larrywal opened 4 years ago

larrywal commented 4 years ago

Hi - if I have data in the same group/label that overlaps, what is the behavior? Is it possible, only for those group/label combinations, to increase the height of that label so the overlapping bars show next to each other vs overlapping?

vasturiano commented 4 years ago

@larrywal you can achieve that visual separation by having two separate series under the same group, so they will be shown as two distinct lines instead of one. I think that's the better way to solve your series overlap.

larrywal commented 4 years ago

Let me explain my scenario a bit more. Each group will have multiple series, but most series will only have 1 event in them, and for those, they will mostly not be overlapping with other events in the same group. In that case, the group could be collapsed to only one (or just a few) lines representing all of the series', and it would be a much better use of space (than having, say, 10 series in a group, none of which overlap but all of which take up their own vertical space).

Make sense?