Overlay Gantt chart with line

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Bryan Sampieri

Overlay Gantt chart with line

Post by Bryan Sampieri » Tue Dec 10, 2002 2:00 am

I need to overlay a horizontal gantt chart with a line chart, something that can show process run times (gantt) with CPU usage (line) with the horizontal axis being time. I can't seem to find the way to do this, because my regular gantt chart (process schedule) is a catagory plot with a horizontal bar renderer and my regular line chart (CPU usage) is an XYPlot. It would appear one cannot overlay these 2 plots. It seems I could put the gantt dataset into a CombinedDataset, which is an XYDataset, which could go to an XYPlot, but then I have no way to set a renderer to that to draw horizontal bar since there is no HorizontalXYBarRenderer....
anyone have any ideas?

Locked