Dear friends,
We are
using syncfusion javascript Gantt on our web page. We use the Gantt chart to
visualize projects that can take multiple years to complete. We have only
limited space for the Gantt container on our page and we would want to scale the timeline to fit more years in the Gantt control. At the moment we can
only see one year at a time (like 2016) in the control and need to scroll the Gantt chart to the right
to see next years.
What do we need to do to scale the time axis so that we can see many years (like 2016 - 2022)?
We are expecting to show multiple timescale years within the available width, sometimes with a horizontal scrollbar, sometimes without. For example, if we want to show 4 years out of 10, it requires the use of horizontal scrollbar. However, if we want to show 3 years out of 3, a scrollbar is not needed.
We are rendering the Gantt control in Year timescale schedule mode.
We have also tried to adjust timeScaleUnitSize between 50% and 500%. Using the minimum available value of 50% shows only 1 year in the Gantt control, as in the sample you provided. Bigger values than 50% only make the result worse. It feels like timeScaleUnitSize of 10% would get close to what we need, but it is not allowed.
If we could set the timescale according to our needs, we would need to drop the months scale from the control and only display the years. Otherwise the scale would become congested. Maybe something like small ticks every 3 or 6 months could then be used to provide more granularity to the scale.