Custom timeline event height calculation

Hi,

I am working on a project where I need to view two events in one line without stacking. The timeline now cuts the height of the events down to 50% and stacks them ontop of each other.

I need a view where they are displayed behind each other OR one of those events is just 1 px height.

I can set the one event to 1px height by CSS but then the second event just leaves a huge gap. It should still remain full size.

Is there a way to interact with the formula that calcualtes the height of events?

image

Regards Florian

Hi,

By default all events have the same height.
You can configure it by event_dy property of createTimelineView() method.
I advice you to check all properties of the method. It will be very useful for you while you are working with the view
https://docs.dhtmlx.com/scheduler/api__scheduler_createtimelineview.html

Only by changing the Scheduler source code.