I found one issue when events are nested (i.e, a range is completely inside another range) in which the vistime doesn't allocate different rows when plotting them, so events will be plotted on top of each other (when optimize_y = TRUE).
Looking at your set_y_values.R code, I think if we change case2 condition as below, it will fix the conflict issue:
Hi, Vistime is really great, thank you!
I found one issue when events are nested (i.e, a range is completely inside another range) in which the vistime doesn't allocate different rows when plotting them, so events will be plotted on top of each other (when
optimize_y = TRUE
).Looking at your
set_y_values.R
code, I think if we change case2 condition as below, it will fix the conflict issue:toAdd$start >= all_on_current_y[j,"start"] & toAdd$start <= all_on_current_y[j,"end"]
It will be great if you can update it or let me know if I'm missing anything.
Thanks, Elham