Search found 2 matches

by robthewolf
Mon Jun 25, 2012 9:23 am
Forum: JFreeChart - Stockmarket
Topic: Hide weekend data in a 4 hour ohlc timeseries
Replies: 2
Views: 15699

Re: Hide weekend data in a 4 hour ohlc timeseries

you need to use a segmented time line ( I would search google for examples )
here is something simple

Code: Select all

SegmentedTimeline timeline = SegmentedTimeline.newMondayThroughFridayTimeline();
((DateAxis) chart.getXYPlot().getDomainAxis()).setTimeline(timeline);
by robthewolf
Mon Jun 25, 2012 8:17 am
Forum: JFreeChart
Topic: possible bug in savechartasPNG
Replies: 1
Views: 4109

possible bug in savechartasPNG

I have a TimeSeriesChart which I create: chart = ChartFactory.createTimeSeriesChart( this.getTitle(), // chart title xLabel, // domain axis label yLabel, // range axis label dataset, // data true, // include legend true, // tooltips false // urls ); createChartPanel(); Elsewhere I have: public void ...