Performance tips for extra horizontal scrolling and timeline page updating in Gantt Chart Light Library
Dependening on the number of items loaded and displayed, a short time interval of low responsiveness may occur in the Gantt Chart controls when the end user clicks one of the extra horizontal scroll buttons (i.e. timeline page update buttons) to navigate to the past or to the future of a displayed project, or when the timeline page is dynamically changed from code within Gantt Chart Light Library.
How can we improve the behavior of the controls such cases?
We recommend you to follow one of these paths in your application:
- Initialize the Gantt Chart control with a larger timeline page (i.e. directly scrollable horizontal time interval), by setting up TimelinePageStart and TimelinePageFinish properties to appropriate values for your project and scale view, so that the end user and your code don't need to extra horizontal scroll or update the timeline page often (if you want, you may retrieve the project start and finish date and times by calling GetProjectStart and GetProjectFinish methods of the control); note, though, that displaying a very large timeline page may decrease performance at load time;
- Set up a larger time interval for TimelinePageUpdateAmount property, to perform larger extra scroll updates at once. By default this value is set to one week.