嗨~,我想问一下怎么样可以将纵轴的时间轴(即几点几分)隐藏掉,并且在周视图和月视图中添加事件时可以任意添加事件,不受几时几分影响
Hi,
The language of the forum is English. Please use it when asking a question. There are no people in our team who understand Chinese.
It will also be very useful for other users if they encounter a similar problem.
Sorry,I don’t know that nobody here understands Chinese
Hey, I’d like to ask how you can hide the timeline of the vertical axis (i.e., what minutes) and add events to the weekly and monthly views, without being affected by minutes.
As I understand, you don’t need minutes on the Y scale in the Timeline view, and also you want to set duration step equal to an hour.
If so, for the first issue - configure the Y scale in the createTimelineView method. Pay attention to " x_unit" property
https://docs.dhtmlx.com/scheduler/api__scheduler_createtimelineview.html
To solve the second issue set the value of time_step config to 60. The config sets the minimum step (in minutes) for event’s time values.
https://docs.dhtmlx.com/scheduler/api__scheduler_time_step_config.html