specifies items of the X-Axis

keystringthe unit's id (key)
labelstringthe unit's label
unitobjectthe unit object containing the 'key' and 'label' properties
dateDatethe 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;

Applicable views:Units View

The template requires the units plugin to be activated.

See also
Back to top