Skip to main content
December 3, 2025
Solved

Any way to zoom a Gantt View Component?

  • December 3, 2025
  • 2 replies
  • 0 views

I have managed to build a Gantt View and the associated DataSet qute successfully.

However, since I am looking at data that spans a few years, I'd really like to zoom the Gantt View in so that I can see the related tasks (spanning that time) without having to scroll a metre to the right.....

There are no obvious Formatting options on the component itself, and the related objects only have the "ParameterValue" property which look vaguely useful, but I think that is only to pass info back with the DataSet once constructed, and not to pass any scaling/formatiing info to the Gantt View component.

ChatGPT (don't judge me....) tells me that the underlying control (ComponentOne GanttView) has options aailable to set the zoom levels (e.g. TimeScaleUnit = "Year"), but these are not exposed to the object model or on the component, since I cannot create a GanttView object in the BR (as it's done by the component).

I have looked in the Task Manager code and there is nothing that does any zooming - maybe it doesn't matter as Task Manager is really only looking over a month or so, so zooming is not an issue.

Any thoughts/suggestions? Gantt View looks great, but if your time period extends much past 3 months then it's not really that useful as a component to display time-series events without an ability to zoom/compress the timescale on opening. The Zoom slider available in the GUI does not scale enough even as a manual option.

Steve

Best answer by sameburn

Hi SteveK​ 

I don't think this is possible.  You can only interact with the properties of a component that you can see on that component type.

Maybe one for ideastream?

Cheers

Sam

2 replies

sameburnAnswer
December 3, 2025

Hi SteveK​ 

I don't think this is possible.  You can only interact with the properties of a component that you can see on that component type.

Maybe one for ideastream?

Cheers

Sam

SteveKAuthor
December 4, 2025

Thanks Sam - I'll raise it there