specifies items of the X-Axis
key | string | the unit's id (key) |
label | string | the unit's label |
unit | object | the unit object containing the 'key' and 'label' properties |
date | Date | the date of a column (for multi-day Units view) |
Available only in PRO Edition
scheduler.templates.unit_scale_text = function(key, label, unit, date) {
if (option.css) {
return "<span class='" + option.css + "'>" + label + "</span>";
} else {
return label;
}
};
The template requires the units plugin to be activated.