Units view custom y-axis label

intTockenNumber = 10;
        scheduler.templates.hour_scale = function(date){
                html="";
                for (var i=0; i<60/timIntervel; i++){
                        html+="<div style='height:44px;line-height:44px;'>"+intTockenNumber++ +"</div>";
                        date = scheduler.date.add(date,timIntervel,"minute");
                }
                return html;
        };

How can I get the custom y-axis label in units view (hour scale label ) , set by using above code ?
instead of time it will show the serial numbers . so how to get those label associated with a cell in unit view ?

please suggest me regarding this :slight_smile:

thank you :slight_smile:

Hi ,

There is any solution for this ?

please suggest me regarding this :slight_smile:

thank you

Hi

I want to get the custom y-axis label associated with a cell , on a cell click event . (units view)
in this case the labels in the y-axis is custom .

Hello,

The same question was there:
viewtopic.php?f=6&t=50553
Could you please clarify why this reply doesn’t fit?

Hi,

The custom label for y-axis is working fine , but my question is not that . actually I want to get the y-axis label once we click on any cell in unit view .

When we click on any cell I need to get the corresponding y-axis value …

Hope you understood my requirement : )

Thank you :slight_smile:

Demo:
docs.dhtmlx.com/scheduler/snippet/b746d9c0

Remove “scheduler.config.first_hour = 10;”, if you haven’t set this property.

Hi

That was the problem :slight_smile:

Thanks :slight_smile: