I need to display a weekly shedule timeline, detailed by days, persons and their work hours. Please see this screenshot for example.
What I already tried:
Approach 1) display a timeline for one day (jsfiddle), but I can't duplicate it for several days. Result screenshot
scheduler.createTimelineView({
name: "timeline",
x_unit: "hour",
x_date: "%H",
days:7,
x_step: 1,
x_size: 12,
x_start: 9,
y_unit: scheduler.serverList("sections"),
y_property: "section_id",
render:"days",
});
Approach 2) display timeline for multiple days, hours and persons (jsfiddle), but I can't swap rows and columns. Result screenshot
scheduler.createUnitsView({
name:"week_unit",
property:"section_id",
list:sections,
days:7
});
How can I either display multiple days (approach1) or swap columns/rows (approach 2)?