x_length

Hi.

Im trying to use the dhtmlxScheduler timeline, but i dont know how use the x_lenght property.

My question is: what value do i need to put on x_length?

My webservice return:
start time is: 05:00 am
end time is: 07:00 pm
time step is: 15 minute

x_size: 56
x_step: 15
x_start: 20

scheduler.createTimelineView({
name: “timeline”,
x_unit: “minute”,
x_date: “%H:%i”,
x_step: 15,
x_size: 56,
x_start: 20,
x_length: ???
y_unit: sections,
y_property: “section_id”,
render:“bar”
});

x_length is optional and may be ommited. It defines how many x_step units will be scrolled when you press forward/backward arrows at the header.
For example if you want arrows to scroll days, you should set x_length:96 (96 steps, 15 minutes each = 24 hours) scheduler.createTimelineView({ name: "timeline", x_unit: "minute", x_date: "%H:%i", x_step: 15, x_size: 56, x_start: 20, x_length: 96,//15min*96 = 24 hours

Thanks.