When migrating from JFreeChart 1.0.1 to 1.0.13 I found that the StackedAreaChart has changed. The ends are now extended sidewise half a unit with the constant end values. I tried to fix this with renderer.setEndType(AreaRendererEndType.TRUNCATE) but it did not work. This may be related to the existing bug "StackedAreaRenderer - EndType ignored" - ID: 1937481
I reproduced the problem with some example code I found here: http://www.roseindia.net/chartgraphs/area-chart.shtml . I changed ChartFactory.createAreaChart to ChartFactory.createStackedAreaChart and made some screenshots (see attached file).
Something else I noticed: in versions 1.0.12 and 1.0.13 there are fine vertical lines (separating the segments that were separated by the gaps in versions 1.0.6 til 1.0.11).
Log in to post a comment.