You can download version 0.9.4 from the JFreeChart project page on SourceForge:
http://sourceforge.net/projects/jfreechart
The changes in this release are (from the README file):
0.9.4 : (18-Oct-2002) Added a new stacked area chart (contributed by Dan
Rivett) and a compass plot (contributed by Bryan Scott). Updated
the ThermometerPlot class. Added a new XYDotRenderer for scatter
plots. Modified combined and overlaid plots to use the series colors
specified in the sub plot rather than the parent plot (this makes it
easier to align the colors in the legend). Added Regression class
for linear and power regressions. BasicTimeSeries can now
automatically drop "old" data. Some clean-up work in the code for
tooltips and the event listener mechanism. Richard Atkinson has
incorporated some useful extensions for servlets/JSP developers.
Ran Checkstyle and corrected issues reported for most classes.
Checkstyle is a free utility that you can download from:
http://checkstyle.sourceforge.net
Fixed bugs and updated documentation.
API changes include:
- added tickMarkPaint to Axis constructor (also affects subclasses);
- added getLegendItems() to Plot, and deprecated getLegendItemLabels();
- added getLegendItem(int) to XYItemRenderer and CategoryItemRenderer.
- most 'protected' member variables have been changed to 'private'.
Regards,
DG
Version 0.9.4 available...
Re: Version 0.9.4 available...
Richard Atkinson has pointed out (and fixed!) an unfortunate bug that I introduced into the ChartUtilities class. I'll repackage 0.9.4 today, and post new archives on SourceForge.
Regards,
DG.
Regards,
DG.
setSkipCategoryLabelsToFit in version 0.9.4 for HorizontalCa
Hi,
I have changed from 0.9.3 to 0.9.4 in order to take advantage of the setSkipCategoryLabelsToFit method in Horizontal CategoryAxis. We are plotting some data in category plots and have a large number of categories. The labels overlap and are unreadable. I wanted to use setSkipCategoryLabelsToFit in order to get around this problem. However I get the following exception when I try to run my app:
java.lang.NoSuchMethodError: com.jrefinery.ui.about.ProjectInfo.setName(Ljava/lang/String;)V
at com.jrefinery.chart.JFreeChartInfo.(Unknown Source)
at com.jrefinery.chart.JFreeChart.(Unknown Source)
at com.jrefinery.chart.ChartFactory.createLineChart(Unknown Source)
at com.jrefinery.chart.ChartFactory.createLineChart(Unknown Source)
at GraphServlet.doGet(GraphServlet.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
Any help is appreciated.
Thanks
Anthony Nolan
I have changed from 0.9.3 to 0.9.4 in order to take advantage of the setSkipCategoryLabelsToFit method in Horizontal CategoryAxis. We are plotting some data in category plots and have a large number of categories. The labels overlap and are unreadable. I wanted to use setSkipCategoryLabelsToFit in order to get around this problem. However I get the following exception when I try to run my app:
java.lang.NoSuchMethodError: com.jrefinery.ui.about.ProjectInfo.setName(Ljava/lang/String;)V
at com.jrefinery.chart.JFreeChartInfo.(Unknown Source)
at com.jrefinery.chart.JFreeChart.(Unknown Source)
at com.jrefinery.chart.ChartFactory.createLineChart(Unknown Source)
at com.jrefinery.chart.ChartFactory.createLineChart(Unknown Source)
at GraphServlet.doGet(GraphServlet.java:82)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:740)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
Any help is appreciated.
Thanks
Anthony Nolan
Re: Version 0.9.4 available...
A similar error was reported previously and it turned out to be the version of the JCommon class library causing the problem. You need to have 0.7.1 on your class path - it is included in the distribution, but you may have 0.7.0 still from the last version of JFreeChart.
Regards,
DG.
Regards,
DG.