
Links, which show dependencies between two JavaScript Scheduler events, can display text that follows the link path.
Text is supported for
"Curved"and"RightAngled"links (see link shapes for more details).The link type must be
"FinishToStart".The text will use the same color as the link.
Set
textAlignmentto"start","center", or"end". The default is"start".
Link text is available since version 2023.4.5820. The textAlignment property is available since version 2024.1.5898. Text for "RightAngled" links is supported in 2026.3.7040 (introduced in build 7025).
Example
You can specify the link text using the text property:
const links = [
{
id: 101,
from: "main-4",
to: "linked-4",
type: "FinishToStart",
text: "Link text",
textAlignment: "center"
}
];Availability
Availability of this feature in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript | ||
| DayPilot for ASP.NET WebForms | ||
| DayPilot for ASP.NET MVC | ||
| DayPilot for Java |
DayPilot