Hello ,
I have created a unit view ( time in Y-axis )
but I need to set start time , end time , time step in Y-axis .
for now its showing time from 00:00 to 23:00 and time step is 1 hour ,
please suggest me how to do the above mentioned task .
waiting for your reply . … .
Hello,
you can set first-last displayed hour with this property
docs.dhtmlx.com/scheduler/api__s … onfig.html
Regarding the time step - scale units always has one hour duration, although you can use a templates to emulate different time units
docs.dhtmlx.com/scheduler/sizing … alespacing
thanks , I used this code , that fixed my issue
scheduler.config.hour_size_px=(60/intTImeIntervel)*44;
scheduler.templates.hour_scale = function(date){
html="";
for (var i=0; i<60/intTImeIntervel; i++){
//html+="
"+format(date)+"
";
html+="
"+format(date)+"
";
date = scheduler.date.add(date,intTImeIntervel,“minute”);
}
return html;
}
scheduler.config.xml_date="%Y-%m-%d %H:%i";