DayPilot.Gantt.linkShape

The linkShape property sets the shape of links connecting tasks in the JavaScript Gantt Chart component.

Available since version 2025.1.6417.

Declaration

DayPilot.Gantt.linkShape

Possible Values

  • "Curved" - curved link lines.

  • "RightAngled" - right-angled link lines.

Default Value

"Curved"

Examples

JavaScript

const gantt = new DayPilot.Gantt("dp", {
  linkShape: "RightAngled",
  // ...
});
gantt.init();

Angular

<daypilot-gantt [config]="config"></daypilot-gantt>
config: DayPilot.GanttConfig = {
  linkShape: "RightAngled",
  // ...
};

React

<DayPilotGantt
  linkShape={"RightAngled"}
  {/* ... */}
/>

Vue

<DayPilotGantt
  linkShape="RightAngled"
  <!-- ... -->
/>

See Also

Link Shape [doc.daypilot.org]

DayPilot.Gantt Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript