Event width in timeline view

Hi,

I’ve created a timeline view with the folowing parameters :

scheduler.createTimelineView({ name: "timeline", x_unit: "day", x_date: "%d/%m/%Y", x_step: 2, x_size: 7, x_start: 0, y_unit: sections, y_property: "id_user", render: "bar", section_autoheight: false, event_dy: "full" });

My problem is that the width of a 1 hour long event appear very short.
How is it possible to force the width of the events to fit the width of a step ?

Hello,

Check following sample:
dhtmlxScheduler/samples/06_timeline/10_order_and_rounding.html
You need only rounding part though.

Kind regards,
Ilya

Thanks a lot
I’ve search in the samples but i didn’t see it :blush: