Selective Broken Plot lines in TimeSeries

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

Selective Broken Plot lines in TimeSeries

Post by Lee Irvine » Tue Oct 08, 2002 1:29 pm

I would like to determine whether to join 2 plot points depening on how far away from each other they occur in a series at runtime, is this possible.
Basically if on the time series plot two adjacent points are say more than 7 days apart then I don't want to draw a line, otherwise draw a line. Is this possible?

Lee Irvine

Re: Selective Broken Plot lines in TimeSeries

Post by Lee Irvine » Tue Oct 08, 2002 1:48 pm

Worked it out, setGapThreshold in the StandardXYItemRenderer class. However, I am assuming that you can only have discontinuous lines alone, and not have shapes on those lines too?

Lee Irvine

Re: Selective Broken Plot lines in TimeSeries

Post by Lee Irvine » Tue Oct 08, 2002 2:43 pm

OK, I will just get on with it now, just call the setPlotShapes(), forget I even asked!

Locked