Hello TMS Support Team,
I'm using the TMS FNC Gantt Chart and have a question about changing the timeline scale.
Goal
When I change the timeline from Day → Week → Month → Year, I’d like the visible length of the Gantt bars to become progressively shorter (i.e., effectively “zoom out” so the overall schedule fits more compactly on screen).
Reproduction steps (using your demo):
- Open Demos\Gantt Chart\Timeline Options and run it.
- In the right pane, switch Timeline → Unit from Day to Year (and/or switch Timeline Group → Unit from Week to Year).
- Observe the bar lengths.
Actual result
Even after switching the Timeline Unit (and/or Timeline Group Unit), the displayed bar lengths do not change. The bars appear the same length as before, so I can’t get a compact overview.
Expected / desired behavior
As I move to coarser units (Week/Month/Year), I expect the chart to zoom out so that each task bar is drawn shorter on screen, allowing me to see more of the schedule at once.
Questions
- Which property or API should be used to achieve this zoom-out behavior when changing units?
(e.g., something inTimeLineOptionslikeTimeLineUnit,TimeLineSpan, a zoom factor,ViewDateStart/End, or an “auto-fit/zoom-to-fit” method?) - Is there an example snippet showing the recommended way to shrink the on-screen bar lengths as the timeline unit changes (Day→Week→Month→Year)?
- In the Timeline Options demo, is there a setting I should toggle (e.g., Auto View) or an additional call I should make after changing the unit to force the chart to re-scale?
Environment
- Delphi 12 Update 2 (RAD Studio 12.2, 29.0.53982.0329)
- Windows 11
- TMS FNC Gantt Chart 1.3.1.0
Attachments
- Screenshot 1: Timeline Unit = Day
- Screenshot 2: Timeline Unit = Year
(Bar lengths look identical in both.)
If you could point me to the correct properties/methods or a minimal code sample to get the progressive shortening/zoom-out effect, I’d greatly appreciate it.
Best regards,

