Timeline view for showing Monday - Friday in a week

Hi could anyone help me in creating a timeline view with 5 days (Monday - Friday) along with the second scale showing the time between 7:00 AM to 7:00 PM in each day.

I referred docs.dhtmlx.com/scheduler/sampl … scale.html which shows only 3 days. But when I alter the parameters, I am not able to achieve the intended view.

Below is the code used.

scheduler.createTimelineView({
                        name: "weekTimeline",
                        x_unit: "hour",
                        x_date: "%H:%i",
                        x_step: 4,
                        x_size: 24*5/4,
                        x_length: 24*7/4,
                        y_unit: units,
                        y_property: "primaryKey",
                        render: "bar",
                        second_scale: {
                            x_unit: "day",
                            x_date: "%M-%d"
                        }
                    });

Hello,

To display time from 7:00 AM to 7:00 PM, you need to specify non-work hours at scheduler.ignore_timeline function like in this demo:
docs.dhtmlx.com/scheduler/sampl … gnore.html