I don't know how best to name the Subject of my issue, but hopefully the explanation will be easier to follow.
Say I have some time-related data, to be plotted on a XY plot. Some quantity Q varies from say zero to one (the range) from time units 0-100, where the unit of time might be seconds. Time is then the domain of the data.
There is then a long time gap where there is 'no data', say from time 100 to time 900.
Finally, the same quantity Q again has data from time 900 to time 1000.
If i plot this on a 'normal' XY plot, obviously a large part of the plot, 80% in this case; will be 'empty' due to there being no data from 100 to 900 along the domain axis.
Is there any way in JFreeChart to 'cut out' a section of the domain so that the 'interesting data' takes up most of the available pixel space? I'm sure I had seen such an example in the demos jar but now of course I can't find it!
Any help appreciated
Stuart
Time as Domain with portion cut out
-
- Posts: 513
- Joined: Wed Sep 12, 2007 3:18 pm
Re: Time as Domain with portion cut out
You may be looking for a SegmentedTimeline.