Deprecated

A discussion forum for JFreeChart (a 2D chart library for the Java platform).
Locked
Jeff Gardner
Posts: 10
Joined: Sun Dec 28, 2003 5:38 pm

Deprecated

Post by Jeff Gardner » Thu Apr 15, 2004 5:07 pm

Hi

I'm upgrading from 0.9.16 to 0.9.17
What's the best way to fix the deprecated warnings. It says to check the documentation for a better alternative. Any suggestions on how or where to look?

Thanks

- Jeff

"Histogram.java": org.jfree.data.HistogramDataset in org.jfree.data has been deprecated at line 11, column 23
"Histogram.java": org.jfree.data.HistogramDataset in org.jfree.data has been deprecated at line 51, column 5
"Histogram.java": org.jfree.data.HistogramDataset in org.jfree.data has been deprecated at line 51, column 36
"BarChart3d.java": CategoryLabelPosition(org.jfree.ui.RectangleAnchor,org.jfree.text.TextBlockAnchor,org.jfree.ui.TextAnchor,double) in org.jfree.chart.axis.CategoryLabelPosition has been deprecated at line 84, column 38
"BarChart2d.java": CategoryLabelPosition(org.jfree.ui.RectangleAnchor,org.jfree.text.TextBlockAnchor,org.jfree.ui.TextAnchor,double) in org.jfree.chart.axis.CategoryLabelPosition has been deprecated at line 63, column 38
"BarChart2d.java": CategoryLabelPosition(org.jfree.ui.RectangleAnchor,org.jfree.text.TextBlockAnchor,org.jfree.ui.TextAnchor,double) in org.jfree.chart.axis.CategoryLabelPosition has been deprecated at line 102, column 38
"LineChart.java": CategoryLabelPosition(org.jfree.ui.RectangleAnchor,org.jfree.text.TextBlockAnchor,org.jfree.ui.TextAnchor,double) in org.jfree.chart.axis.CategoryLabelPosition has been deprecated at line 98, column 38
"AreaChart.java": CategoryLabelPosition(org.jfree.ui.RectangleAnchor,org.jfree.text.TextBlockAnchor,org.jfree.ui.TextAnchor,double) in org.jfree.chart.axis.CategoryLabelPosition has been deprecated at line 110, column 38
There have been deprecation warnings. Please consult the documentation for a better alternative.

garv
Posts: 127
Joined: Wed Mar 31, 2004 3:44 pm
Location: Amsterdam, The Netherlands

Post by garv » Thu Apr 15, 2004 5:21 pm

The javadocs for the deprecated method normally contain a suggested alternative.
http://www.jfree.org/jfreechart/javadoc/

Locked