A simple demo for the SlidingGanttCategoryDataset class. Try moving the scrollbar at the right side of the chart.
SlidingGanttCategoryDataset