JFreeChart 0.9.14
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
JFreeChart 0.9.14
A new version of JFreeChart has been posted. Changes in this release include:
- implemented zooming for the FastScatterPlot class;
- added item label support for stacked bar charts, and new fall back options for item labels that don't fit within bars;
- modified the CategoryAxis class to allow additional options for the alignment and rotation of category labels;
- addition of the AxisState class, used in the drawing of axes to eliminate a bug when multiple threads draw the same axis simultaneously;
- provided additional attributes in the DateTickUnit class to improve labelling on a segmented DateAxis;
- added support for GradientPaint in bar charts;
- updated the PNGEncoder;
- fixes for tick label positioning on axes;
- various Javadoc updates;
- numerous bug fixes;
You can download the code from the project page at SourceForge:
http://sourceforge.net/projects/jfreechart
- implemented zooming for the FastScatterPlot class;
- added item label support for stacked bar charts, and new fall back options for item labels that don't fit within bars;
- modified the CategoryAxis class to allow additional options for the alignment and rotation of category labels;
- addition of the AxisState class, used in the drawing of axes to eliminate a bug when multiple threads draw the same axis simultaneously;
- provided additional attributes in the DateTickUnit class to improve labelling on a segmented DateAxis;
- added support for GradientPaint in bar charts;
- updated the PNGEncoder;
- fixes for tick label positioning on axes;
- various Javadoc updates;
- numerous bug fixes;
You can download the code from the project page at SourceForge:
http://sourceforge.net/projects/jfreechart
Last edited by david.gilbert on Sun Nov 30, 2003 9:32 pm, edited 1 time in total.
SymbolicAxis broken in release 0.9.14
SymbolicAxis seems to be broken totally in release 0.9.14; it does not draw labels any more
Use any of the corresponding standard demos to see that. I added this remark in sourceforge too: http://sourceforge.net/tracker/index.ph ... tid=115494

-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
It is fixed now and committed to CVS for the 0.9.15 release. You just need to change the refreshTicks(...) method as follows:
Sorry for the inconvenience.
Code: Select all
/**
* Calculates the positions of the tick labels for the axis, storing the results in the
* tick label list (ready for drawing).
*
* @param g2 the graphics device.
* @param cursor the cursor.
* @param plotArea the area in which the plot (inlcuding axes) should be drawn.
* @param dataArea the area in which the data should be drawn.
* @param edge the location of the axis.
*
* @return A list of ticks.
*/
public List refreshTicks(Graphics2D g2,
AxisState state,
Rectangle2D plotArea,
Rectangle2D dataArea,
RectangleEdge edge) {
List ticks = null;
if (RectangleEdge.isTopOrBottom(edge)) {
ticks = refreshTicksHorizontal(g2, state.getCursor(), plotArea, dataArea, edge);
}
else if (RectangleEdge.isLeftOrRight(edge)) {
ticks = refreshTicksVertical(g2, state.getCursor(), plotArea, dataArea, edge);
}
return ticks;
}
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


I used...
java -cp jfreechart-0.9.14.jar;jfreechart-0.9.14-demo.jar org.jfree.chart.demo.Pie3DChartDemo1
...and was expecting to see the 3D pie chart like the first one on the samples page (http://www.jfree.org/jfreechart/samples.html).
But it has no depth...is this a bug or how can you give them depth?
Thanks.
java -cp jfreechart-0.9.14.jar;jfreechart-0.9.14-demo.jar org.jfree.chart.demo.Pie3DChartDemo1
...and was expecting to see the 3D pie chart like the first one on the samples page (http://www.jfree.org/jfreechart/samples.html).
But it has no depth...is this a bug or how can you give them depth?
Thanks.
-
- JFreeChart Project Leader
- Posts: 11734
- Joined: Fri Mar 14, 2003 10:29 am
- antibot: No, of course not.
- Contact:
Thanks for the report, it has been removed for the 0.9.15 release.
David Gilbert
JFreeChart Project Leader
Read my blog
Support JFree via the Github sponsorship program
JFreeChart Project Leader


Re: JFreeChart 0.9.14
jfreechart-0.9.14.tar.gz seems to be corrupt from the jfree.org site and missing from the sourceforge mirrors. The .zip file works well, though.