Variation of TimePeriod XY Chart

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
jmgerrish
Posts: 1
Joined: Wed Oct 29, 2014 5:53 pm
antibot: No, of course not.

Variation of TimePeriod XY Chart

Post by jmgerrish » Wed Oct 29, 2014 6:55 pm

I see the option for a TimePeriodValues line drawing, but it doesn't seem to utilize both start and end dates in the graphing. I have data representing a vessel sailing schedule with an in port time period (from arrival time to departure time) that varies from 1/2 hour to 3 days. I have ports represented by an ordered numeric list for a SymbolAxis. So I want the graphing line to be drawn from departure from one port to the arrival at the next port (a sloped line) and the TimePeriod while in port drawn as a thicker line (always horizontal) (or a shape of varying x length) and then a line drawn from departure to the next arrival. The chart is usually drawn to portray one week's sailing pattern.
Is there a way to do this as jFreeChart is currently written or do I need to subclass XYLineAndShapeRenderer?

An example of what I am trying to generate can be seen at:
http://www.dot.alaska.gov/amhs/share/sc ... ations.pdf
Look at pages 7 - 10

Locked