Docs menu

Properties

Every property the Timeline control has, generated from the manifest the control ships with, so the names always match.

Text size

Text size (%) (textSize) makes every label, value and title in the Timeline bigger or smaller together, from 75 to 200. The default is 100. Lanes and the headers grow with the text, so nothing is squeezed or cut off. Bars and milestones keep their size. A value outside 75 to 200 uses the nearest limit.

Text sizes by role (textSizes) is optional, for when one kind of text should differ from the rest. It takes JSON with sizes in pixels at 100 %, and Text size still multiplies them. For example, {"body": 14, "title": 18} makes names and cell text 14 px and titles 18 px at 100 %, and 21 px and 27 px at 150 %.

Role Used for Size at 100 %
caption Small details, legends and footnotes 11 px
body Names and cell text 13 px
label Time-scale labels 12 px
value Values and notes 12 px
callout Badges and annotations 12 px
header Column, lane and group headers 13 px
title Titles and section headings 16 px

Unknown roles, sizes outside 6 to 96 px and JSON that doesn’t parse are ignored, so a typo never breaks the control.

In code apps, set textScale (1 is 100 %, so 1.5 is 150 %) and textSizes (for example { body: 14 }) as props.

All properties

PropertyTypeKindWhat it does
TitleSingleLine.TextInput Default: Roadmap.
Default zoomEnumInput Default: quarter.
Default modeEnumInput Default: dates.
Fiscal year starts (month 1-12)Whole.NoneInputQuarters and halves are labelled by fiscal year, e.g. Q1 FY27 for a July start. 1 = calendar years.
Colour byEnumInput Default: status.
Show dependenciesTwoOptionsInput Default: true.
ThemeEnumInput Default: light.
Accent colour (hex)SingleLine.TextInput
Text size (%)Whole.NoneInputMakes every label, value and title bigger or smaller together: 75 to 200, default 100. Rows grow with the text. Default: 100.
Text sizes by role (JSON, optional)SingleLine.TextInputAdvanced: sizes in px at 100%, e.g. {"body": 14, "title": 18}. Roles: caption, body, label, value, callout, header, title. Text size still applies.
Licence keySingleLine.TextInputYour Ninth Forge Plan licence key. Without one the control works fully and shows a small watermark.
Allow editingTwoOptionsInputDrag to move and resize items. Users still need write access to the table. Default: true.
Save modeEnumInputAuto saves directly in model-driven apps and raises OnItemChange in canvas apps. Default: auto.
Open items inEnumInputDouble-click or Enter on an item opens its form here (model-driven apps). Default: sidePanel.
Selected item (output)SingleLine.TextOutput
Last change (output, JSON)MultipleOutputThe last edit as JSON, for OnItemChange in canvas apps.
Items (required)DatasetBound
Start date (required)DateAndTime.DateOnlyColumn
End date (empty = milestone)DateAndTime.DateOnlyColumn
Lane (theme, team…)SingleLine.Text / OptionSet / Lookup.Simple / MultipleColumn
StatusSingleLine.Text / OptionSet / Lookup.Simple / MultipleColumn
Colour (hex)SingleLine.TextColumn
Horizon (Now / Next / Later)SingleLine.Text / OptionSet / Lookup.Simple / MultipleColumn
Depends onLookup.SimpleColumn
Is milestone (yes/no)TwoOptionsColumn
Name (canvas, text)SingleLine.TextColumnCanvas apps: a text column with each item name, when Items is not the table itself and the name does not come through.
Record ID (canvas, text)SingleLine.TextColumnCanvas apps: a text column holding the ID of each row, when Items is not the table itself (AddColumns or a collection). Saves and selection then use it.
Depends on ID (canvas, text)SingleLine.TextColumnCanvas apps cannot map a lookup: a text column holding the predecessor ID draws dependency connectors.
OnItemChangeEventEventAn item was moved or resized (save mode: event). Read Self.lastChange.
OnOpenItemEventEventThe user opened an item (double-click or Enter) in a canvas app. Read Self.selectedItemId.

Last updated