TIMELINE_scale_date
info
This functionality is available in the PRO edition only.
Description
Specifies items of the X-Axis
TIMELINE_scale_date: (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.timeline_scale_date = function(date){
var timeline = scheduler.matrix.timeline;
var func = scheduler.date.date_to_str(timeline.x_date||scheduler.config.hour_date);
return func(date);
}
Applicable views: Timeline view
Details
note
The template requires the timeline plugin to be activated.
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.