EventMarker

16 Dec 20251 minute to read

Defines event marker collection in Gantt.

Properties

cssClass string

Specifies a custom CSS class for the event marker.
This can be used to apply custom styles to the line and label of the marker.

Defaults to null

day Date|string

Specifies the date or day of the event marker.
The value can be a Date object or a date string.

Defaults to null

label string

Specifies the label for the event marker.

Defaults to null

top string

Vertical offset of the label from the timeline top.
Must be in pixels (e.g., ‘50px’). Invalid values default to ‘50px’.
Negative values are normalized to ‘50px’.

Defaults to ‘50px’