Search results

TimelineSettings API in JavaScript (ES5) Gantt API control

Configures the timeline settings property in the Gantt.

Properties

bottomTier

TimelineTierSettingsModel

Defines bottom tier settings in timeline.

showTooltip

boolean

Enables or disables tooltip for timeline cells.

Defaults to true

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.

Defaults to true

timelineUnitSize

number

Defines width of timeline cell.

Defaults to 33

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.

Defaults to ‘None’

topTier

TimelineTierSettingsModel

Defines top tier setting in timeline.

updateTimescaleView

boolean

Enables or disables timeline auto update on editing action.

Defaults to true

weekStartDay

number

Defines week start day in timeline.

Defaults to 0

weekendBackground

string

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

Defaults to null