array of scale lines for Gantt
webix.ui({
view: "gantt",
scales: [
{
unit: "month",
step: 1,
format: function(date) {
return webix.Date.dateToStr("%F, %Y")(date);
},
},
{ unit: "day", step: 1, format: "d" }
],
url: "https://docs.webix.com/gantt-backend",
});
Array of scale lines where each scale object has the following fields:
If the it is not defined it will take the default value - one line for days: [{ unit: "day", step: 1, format: "d" }].