subscales

specifies the second time scale(s) (deprecated)

array subscales;

Deprecated

The property is deprecated.

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:


The subscales property is deprecated. Use the scales config instead.

See also
Change log

deprecated since v6.2

Back to top