Class to generate gantt graph.