hour_scale
Description
Specifies the items of the Y-Axis
hour_scale: (date: Date) => string
Parameters
date- (required) Date - the date which needs formatting
Returns
text- (string) - html text for rendering in the scheduler
Example
scheduler.templates.hour_scale = function(date){
return scheduler.date.date_to_str(scheduler.config.hour_date)(date);
};
Applicable views: Day view, Week view, Units view
Related Guides
Need help?
Got a question about the documentation? Reach out to our technical support team for help and guidance. For custom component solutions, visit the Services page.