We are trying to display a 3 day chart as one contiguous chart. In other word we want to not display the dead data zone of before 9:30 AM and after 4:30 PM. We want to stitrch the chart segments togther.
We have found some information in your JFreeChart docs but we do not get these results. Does someone have some code or suggestion from their own experience. Any help would be appreciated
Contiguous multiple day charts
-
- Posts: 1
- Joined: Fri Apr 27, 2007 7:04 pm
- Contact:
You want to use a SegmentedTimeLine for the time axis and remove the intervals on which the market you're plotting isn't trading.
Code: Select all
Timeline timeline = getTimeLine(chartPeriod, mergedQuoteTimes, showWeekends, is24HourInstrument);
if (timeline != null) {
dateAxis.setTimeline(timeline);
}