TimelineSettingsModel

23 Sep 20251 minute to read

Interface for a class TimelineSettings

Properties

bottomTier TimelineTierSettingsModel

Defines bottom tier settings in timeline.

showTooltip boolean

Enables or disables tooltip for timeline cells.

showWeekend boolean

Enables or disables the display of weekend cells in the Gantt Chart timeline.
Weekend days are determined based on the workweek configuration, which defines the working days (e.g., Monday to Friday).
Any day not included in the workweek is treated as a non-working day.
When set to false, non-working days will be hidden from the timeline view.

timelineUnitSize number

Defines width of timeline cell.

timelineViewMode TimelineViewMode

Defines timeline mode of Gantt header.

  • None - Default.
  • Week - Define the week mode header.
  • Day - Define the day mode header.
  • Hour - Define the hour mode header.
  • Month - Define the month mode header.
  • Year - Define the year mode header.
  • Minutes - Define the minutes mode header.

topTier TimelineTierSettingsModel

Defines top tier setting in timeline.

updateTimescaleView boolean

Enables or disables timeline auto update on editing action.

weekStartDay number

Defines week start day in timeline.

weekendBackground string

Defines background color of weekend cell in week - day timeline mode.