Drawing lines between datapoints for two series

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
gandhi
Posts: 11
Joined: Wed Nov 17, 2004 5:24 pm

Drawing lines between datapoints for two series

Post by gandhi » Thu Jan 06, 2005 3:41 pm

I have a linechart that has two lines (denoting lowest and highest value for each category) rendered with shapes. I want to draw a simple line showing the low/high range for each common domain value, i.e. connecting each low value with its corresponding high value.

I know I could use the HighLowRenderer (possibly overlaid with a line chart to have shapes at the high/low values), but I have a CategoryDataset not a XYDataset.

I guess I would have to write my own renderer. But maybe I am just overlooking a simpler solution ?

Locked