subscales

specifies the second time scale(s) (deprecated)

array subscales;

Deprecated

The subscales method is deprecated, use the scales config instead.

Example

gantt.config.scale_unit = "month";
 
gantt.config.subscales = [
    {unit:"week", step:1, template:weekScaleTemplate},
    {unit:"day",  step:1, date:"%D" }
];
 
gantt.init("gantt_here");


Default value:

[]

Related samples

Details

Each object in the array specifies a single scale. An object can take the following attributes:

See also
Change log

deprecated since v6.2

Back to top