Перейти к основному содержимому

step

предупреждение

Свойство устарело.

Description

Устанавливает шаг шкалы времени (ось X)

Example

gantt.config.scale_unit = "year";
gantt.config.step = 1;
gantt.config.date_scale = "%Y";

gantt.init("gantt_here");

Details

заметка

Свойство step устарело. Используйте свойство step из scales вместо этого:

gantt.config.scales = [
{unit: "month", step: 1, format: "%F, %Y"},
{unit: "week", step: 1, format: weekScaleTemplate},
{unit: "day", step: 1, format: "%D", css:daysStyle }
];

Значение по умолчанию: 1

Change log

  • устарело с версии v6.2

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.