search envelope-o feed check
Home Unanswered Active Tags New Question
user comment-o

Events start to stack vertically when very small

Asked by Alex K.
1 day ago.

When we zoom out a lot or when we have short events, they start stacking vertically, even though their times are not in conflict.

Can you reproduce this and is it something that can be solved or a known issue?

Thank you!

Answer posted by Dan Letecky [DayPilot]
1 day ago.

Overlaps are resolved at the pixel level to prevent events from being placed on top of each other.

I assume you have already seen the Exact Event Duration docs topic.

You can take a look at this tutorial for options:

In your case, the options are:

  1. Let the events overlap fully by configuring event stacking line height (eventStackingLineHeight: 0).

  2. Force a specific line for each event using the line property (see DayPilot.Event.data object).

Let me know if it didn’t help.

New Reply
This reply is
Attachments:
or drop files here
Your name (optional):