Deprecated API

Deprecated Classes
org.jfree.chart.renderer.CategoryURLGeneratorTable
          This class is no longer being used in JFreeChart and will be removed before version 1.0.0 is released. 
org.jfree.data.general.DefaultMeterDataset
          Use ValueDataset instead, this interface mixes data and presentation items. 
org.jfree.chart.DefaultShapeFactory
          No longer used. Shapes are supplied by the DrawingSupplier if necessary. 
org.jfree.chart.SeriesShapeFactory
          No longer used. Shapes are supplied by the DrawingSupplier class. 
org.jfree.chart.renderer.xy.StackedAreaXYRenderer
          Renamed StackedXYAreaRenderer. 
 

Deprecated Interfaces
org.jfree.data.general.MeterDataset
          Use ValueDataset instead, this interface mixes data and presentation items. 
org.jfree.chart.ShapeFactory
          This interface is no longer used, shapes are obtained from the DrawingSupplier. 
 

Deprecated Fields
org.jfree.data.category.CategoryToPieDataset.COLUMN
          Use the TableOrder class. 
org.jfree.data.time.TimePeriodValuesCollection.END
          Replaced by TimePeriodAnchor.END. 
org.jfree.data.time.TimePeriodValuesCollection.MIDDLE
          Replaced by TimePeriodAnchor.MIDDLE. 
org.jfree.data.category.CategoryToPieDataset.ROW
          Use the TableOrder class. 
org.jfree.data.time.TimePeriodValuesCollection.START
          Replaced by TimePeriodAnchor.START. 
 

Deprecated Methods
org.jfree.data.statistics.BoxAndWhiskerCalculator.calculateMean(List)
          This method has been moved to the Statistics class. 
org.jfree.data.statistics.BoxAndWhiskerCalculator.calculateMedian(List)
          Moved to the Statistics class. 
org.jfree.data.statistics.BoxAndWhiskerCalculator.calculateMedian(List, int, int)
          Moved to the Statistics class. 
org.jfree.chart.ChartFactory.createAreaXYChart(String, String, String, XYDataset, PlotOrientation, boolean, boolean, boolean)
          Use createXYAreaChart(...). 
org.jfree.chart.axis.TickUnits.createIntegerTickUnits()
          this method has been moved to the NumberAxis class. 
org.jfree.chart.axis.TickUnits.createIntegerTickUnits(Locale)
          this method has been moved to the NumberAxis class. 
org.jfree.chart.ChartFactory.createLineXYChart(String, String, String, XYDataset, PlotOrientation, boolean, boolean, boolean)
          Use createXYLineChart(...). 
org.jfree.data.time.MovingAverage.createMovingAverage(XYDataset, int, String, long, long)
          Use similar method with 'double' parameters. 
org.jfree.chart.ChartFactory.createPie3DChart(String, PieDataset, boolean, boolean, boolean)
          Use createPieChart3D(...). 
org.jfree.chart.ChartFactory.createStackedAreaXYChart(String, String, String, TableXYDataset, PlotOrientation, boolean, boolean, boolean)
          Method renamed - use createStackedXYAreaChart(). 
org.jfree.chart.axis.TickUnits.createStandardTickUnits()
          this method has been moved to the NumberAxis class. 
org.jfree.chart.axis.TickUnits.createStandardTickUnits(Locale)
          this method has been moved to the NumberAxis class. 
org.jfree.chart.ChartFactory.createXYBarChart(String, String, String, IntervalXYDataset, PlotOrientation, boolean, boolean, boolean)
          Use createXYBarChart() method with additional parameter. 
org.jfree.data.general.DatasetUtilities.findDomainExtent(Dataset)
          Use findDomainExtent(XYDataset) instead. 
org.jfree.data.general.DatasetUtilities.findMaximumDomainValue(Dataset)
          Use findMaximumDomainValue(XYDataset). 
org.jfree.data.general.DatasetUtilities.findMaximumRangeValue(Dataset)
          Use findMaximumRangeValue(CategoryDataset) or findMaximumRangeValue(XYDataset). 
org.jfree.data.general.DatasetUtilities.findMinimumDomainValue(Dataset)
          Use findMinimumDomainValue(XYDataset). 
org.jfree.data.general.DatasetUtilities.findMinimumRangeValue(Dataset)
          Use findMinimumRangeValue(CategoryDataset) or findMinimumRangeValue(XYDataset). 
org.jfree.data.general.DatasetUtilities.findRangeExtent(Dataset)
          Use findRangeExtent(CategoryDataset) or findRangeExtent(XYDataset). 
org.jfree.data.statistics.Statistics.getAverage(Number[])
          Renamed calculateMean(). 
org.jfree.chart.renderer.AbstractRenderer.getBaseItemLabelAnchor()
          Use getBasePositiveItemLabelPosition()/getBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.getBaseItemLabelAnchor()
          Use getBasePositiveItemLabelPosition() or getBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getBaseItemLabelAngle()
          Use getBasePositiveItemLabelPosition()/getBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getBaseItemLabelRotationAnchor()
          Use getBasePositiveItemLabelPosition()/getBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getBaseItemLabelTextAnchor()
          Use getBasePositiveItemLabelPosition()/getBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.getBaseItemLabelTextAnchor()
          Use setBasePositiveItemLabelPosition() or setBaseNegativeItemLabelPosition(). 
org.jfree.chart.axis.CategoryAxis.getBottomCategoryLabelPosition()
          Use getCategoryLabelPositions().getLabelPosition(RectangleEdge.BOTTOM). 
org.jfree.chart.plot.ContourPlot.getContourDataset()
          Use the getDataset() method instead. 
org.jfree.data.general.DatasetUtilities.getCumulativeRangeExtent(CategoryDataset)
          Use findCumulativeRangeExtent(). 
org.jfree.chart.plot.ThermometerPlot.getData()
          Use getDataset() instead. 
org.jfree.chart.plot.MeterPlot.getDialType()
          Use getDialShape(). 
org.jfree.data.general.DatasetUtilities.getDomainExtent(Dataset)
          Use findDomainExtent(). 
org.jfree.chart.labels.ItemLabelAnchor.getHorizontalOpposite(ItemLabelAnchor)
          Renderer now has positive and negative item label anchors. 
org.jfree.chart.axis.SegmentedTimeline.Segment.getIndex()
          Use getMillisecond(). 
org.jfree.chart.renderer.AbstractRenderer.getItemLabelAnchor(int, int)
          Use getPositiveItemLabelPosition() or getNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.getItemLabelAnchor(int, int)
          Use getPositiveItemLabelPosition() or getNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getItemLabelAngle(int, int)
          Use getPositiveItemLabelPosition()/getNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getItemLabelRotationAnchor(int, int)
          Use getPositiveItemLabelPosition()/getNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getItemLabelTextAnchor(int, int)
          Use getPositiveItemLabelPosition()/getNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.getItemLabelTextAnchor(int, int)
          Use getPositiveItemLabelPosition() or getNegativeItemLabelPosition(). 
org.jfree.chart.axis.CategoryAxis.getLeftCategoryLabelPosition()
          Use getCategoryLabelPositions().getLabelPosition(RectangleEdge.LEFT). 
org.jfree.chart.plot.CompassPlot.getLegendItemLabels()
          use getLegendItems(). 
org.jfree.chart.plot.MeterPlot.getLegendItemLabels()
          use getLegendItems(). 
org.jfree.chart.plot.ThermometerPlot.getLegendItemLabels()
          use getLegendItems(). 
org.jfree.chart.axis.ValueAxis.getMaximumAxisValue()
          Use getUpperBound(). 
org.jfree.data.general.DatasetUtilities.getMaximumDomainValue(Dataset)
          Use findMaximumDomainValue(); 
org.jfree.data.general.DatasetUtilities.getMaximumRangeValue(Dataset)
          Use findMaximumRangeValue(). 
org.jfree.data.general.DatasetUtilities.getMaximumStackedRangeValue(CategoryDataset)
          Use findMaximumStackedRangeValue(). 
org.jfree.chart.axis.ValueAxis.getMinimumAxisValue()
          Use getLowerBound(). 
org.jfree.data.general.DatasetUtilities.getMinimumRangeValue(Dataset)
          Use findMinimumRangeValue(). 
org.jfree.data.general.DatasetUtilities.getMinimumStackedRangeValue(CategoryDataset)
          Use findMinimumStackedRangeValue(). 
org.jfree.data.time.TimeSeriesCollection.getPosition()
          Use getXPosition(). 
org.jfree.data.time.TimePeriodValuesCollection.getPosition()
          Use getXPosition(). 
org.jfree.data.general.DatasetUtilities.getRangeExtent(Dataset)
          Use findRangeExtent(). 
org.jfree.chart.axis.CategoryAxis.getRightCategoryLabelPosition()
          Use getCategoryLabelPositions().getLabelPosition(RectangleEdge.RIGHT). 
org.jfree.chart.entity.XYItemEntity.getSeries()
          Renamed getSeriesIndex(). 
org.jfree.chart.renderer.AbstractRenderer.getSeriesItemLabelAnchor(int)
          Use getSeriesPositiveItemLabelPosition() or getSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.getSeriesItemLabelAnchor(int)
          Use getSeriesPositiveItemLabelPosition() or getSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getSeriesItemLabelAngle(int)
          Use getSeriesPositiveItemLabelPosition()/getSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getSeriesItemLabelRotationAnchor(int)
          Use getSeriesPositiveItemLabelPosition()/getSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.getSeriesItemLabelTextAnchor(int)
          Use getSeriesPositiveItemLabelPosition()/getSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.getSeriesItemLabelTextAnchor(int)
          Use getSeriesPositiveItemLabelPosition() or getSeriesNegativeItemLabelPosition(). 
org.jfree.chart.axis.CategoryAxis.getSkipCategoryLabelsToFit()
          No longer supported. 
org.jfree.data.general.DatasetUtilities.getStackedRangeExtent(CategoryDataset)
          Use findStackedRangeExtent(). 
org.jfree.data.general.DatasetUtilities.getStackedRangeExtent(CategoryDataset, KeyToGroupMap)
          Use findStackedRangeExtent(). 
org.jfree.data.general.DatasetUtilities.getStackedRangeExtent(TableXYDataset)
          Use findStackedRangeExtent(). 
org.jfree.chart.JFreeChart.getSuppressChartChangeEvents()
          Use isNotify() instead. 
org.jfree.chart.axis.CategoryAxis.getTopCategoryLabelPosition()
          Use getCategoryLabelPositions().getLabelPosition(RectangleEdge.TOP). 
org.jfree.chart.labels.ItemLabelAnchor.getVerticalOpposite(ItemLabelAnchor)
          Renderer now has positive and negative item label positions. 
org.jfree.chart.axis.CategoryAxis.isVerticalCategoryLabels()
          Use the get/setXXXCategoryLabelPosition methods. 
org.jfree.chart.renderer.AbstractRenderer.setBaseAngle(Number)
          Use setBasePositiveItemLabelPosition()/setBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setBaseItemLabelAnchor(ItemLabelAnchor)
          Use setBasePositiveItemLabelPosition()/setBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.setBaseItemLabelAnchor(ItemLabelAnchor)
          Use setBasePositiveItemLabelPosition() or setBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setBaseItemLabelRotationAnchor(TextAnchor)
          Use setBasePositiveItemLabelPosition()/setBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setBaseItemLabelTextAnchor(TextAnchor)
          Use setBasePositiveItemLabelPosition()/setBaseNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.setBaseItemLabelTextAnchor(TextAnchor)
          Use setBasePositiveItemLabelPosition() or setBaseNegativeItemLabelPosition(). 
org.jfree.chart.axis.CategoryAxis.setBottomCategoryLabelPosition(CategoryLabelPosition)
          Use setCategoryLabelPositions(...). 
org.jfree.chart.plot.ThermometerPlot.setData(ValueDataset)
          Use setDataset(...) instead. 
org.jfree.chart.plot.MeterPlot.setDialType(int)
          Use setDialShape(...). 
org.jfree.chart.renderer.AbstractRenderer.setItemLabelAnchor(ItemLabelAnchor)
          Use setPositiveItemLabelPosition()/setNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.setItemLabelAnchor(ItemLabelAnchor)
          Use setPositiveItemLabelPosition() or setNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setItemLabelAngle(Number)
          Use setPositiveItemLabelPosition()/setNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setItemLabelRotationAnchor(TextAnchor)
          Use setPositiveItemLabelPosition()/setNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setItemLabelTextAnchor(TextAnchor)
          Use setPositiveItemLabelPosition()/setNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.setItemLabelTextAnchor(TextAnchor)
          Use setPositiveItemLabelPosition() or setNegativeItemLabelPosition(). 
org.jfree.chart.axis.CategoryAxis.setLeftCategoryLabelPosition(CategoryLabelPosition)
          Use setCategoryLabelPositions(...). 
org.jfree.chart.axis.ValueAxis.setMaximumAxisValue(double)
          Use setUpperBound(...). 
org.jfree.chart.axis.ValueAxis.setMinimumAxisValue(double)
          Use setLowerBound(...). 
org.jfree.data.time.TimeSeriesCollection.setPosition(int)
          Use setXPosition(...). 
org.jfree.data.time.TimePeriodValuesCollection.setPosition(int)
          Use setXPosition(...). 
org.jfree.chart.axis.CategoryAxis.setRightCategoryLabelPosition(CategoryLabelPosition)
          Use setLabelPositions(...). 
org.jfree.chart.entity.XYItemEntity.setSeries(int)
          Renamed setSeriesIndex(). 
org.jfree.chart.renderer.AbstractRenderer.setSeriesAngle(int, Number)
          Use setSeriesPositiveItemLabelPosition()/setSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setSeriesItemLabelAnchor(int, ItemLabelAnchor)
          Use setSeriesPositiveItemLabelPosition()/setSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.setSeriesItemLabelAnchor(int, ItemLabelAnchor)
          Use setSeriesPositiveItemLabelPosition() or setSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setSeriesItemLabelRotationAnchor(int, TextAnchor)
          Use setSeriesPositiveItemLabelPosition()/setSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.AbstractRenderer.setSeriesItemLabelTextAnchor(int, TextAnchor)
          Use setSeriesPositiveItemLabelPosition()/setSeriesNegativeItemLabelPosition(). 
org.jfree.chart.renderer.category.CategoryItemRenderer.setSeriesItemLabelTextAnchor(int, TextAnchor)
          Use setSeriesPositiveItemLabelPosition() or setSeriesNegativeItemLabelPosition(). 
org.jfree.chart.axis.CategoryAxis.setSkipCategoryLabelsToFit(boolean)
          No longer supported. 
org.jfree.chart.JFreeChart.setSuppressChartChangeEvents(boolean)
          Use setNotify(boolean) instead. 
org.jfree.chart.axis.CategoryAxis.setTopCategoryLabelPosition(CategoryLabelPosition)
          Use setCategoryLabelPositions(...). 
org.jfree.chart.axis.CategoryAxis.setVerticalCategoryLabels(boolean)
          Use the get/setXXXCategoryLabelPosition methods. 
org.jfree.chart.axis.AxisSpace.shrinkLeftAndRight(Rectangle2D, Rectangle2D)
          This method is no longer required. 
org.jfree.chart.axis.AxisSpace.shrinkTopAndBottom(Rectangle2D, Rectangle2D)
          This method is no longer required. 
org.jfree.chart.axis.DateAxis.translateDateToJava2D(Date, Rectangle2D, RectangleEdge)
          Use dataToJava2D() instead. 
org.jfree.chart.axis.ValueAxis.translateJava2DToValue(double, Rectangle2D, RectangleEdge)
          Use java2DToValue instead. 
org.jfree.chart.axis.NumberAxis.translateJava2DToValue(double, Rectangle2D, RectangleEdge)
          Use java2DToValue() instead. 
org.jfree.chart.axis.LogarithmicAxis.translateJava2DToValue(double, Rectangle2D, RectangleEdge)
          Use java2DToValue(). 
org.jfree.chart.axis.DateAxis.translateJava2DToValue(double, Rectangle2D, RectangleEdge)
          Use java2DToValue instead. 
org.jfree.chart.axis.ValueAxis.translateJava2DtoValue(float, Rectangle2D, RectangleEdge)
          Use translateJava2DToValue(double, ...). 
org.jfree.chart.axis.ValueAxis.translateValueToJava2D(double, Rectangle2D, RectangleEdge)
          Use valueToJava2D instead. 
org.jfree.chart.axis.NumberAxis.translateValueToJava2D(double, Rectangle2D, RectangleEdge)
          Use valueToJava2D() instead. 
org.jfree.chart.axis.LogarithmicAxis.translateValueToJava2D(double, Rectangle2D, RectangleEdge)
          Use valueToJava2D(). 
org.jfree.chart.axis.DateAxis.translateValueToJava2D(double, Rectangle2D, RectangleEdge)
          Use valueToJava2D instead. 
 

Deprecated Constructors
org.jfree.chart.entity.CategoryItemEntity(Shape, String, int, Object, int)
          Use alternative constructor. 
org.jfree.chart.entity.CategoryItemEntity(Shape, String, String, int, Object, int)
          Use alternative constructor. 
org.jfree.chart.axis.CategoryLabelPosition(RectangleAnchor, TextBlockAnchor, TextAnchor, double)
          Use alternative constructor. 
org.jfree.data.category.CategoryToPieDataset(CategoryDataset, int, int)
          Use the other constructor. 
org.jfree.chart.axis.DateAxis(String, Timeline)
          Use DateAxis(String) then set the time line separately. 
org.jfree.chart.Legend(JFreeChart)
          use the default constructor instead and let JFreeChart manage the chart reference 
org.jfree.chart.LegendItem(String, String, Shape, boolean, Paint, Paint, Stroke)
          Use other constructor. 
org.jfree.chart.LegendItem(String, String, Shape, Paint, Paint, Stroke)
          Use the other constructor. 
org.jfree.chart.MeterLegend(JFreeChart, String)
          use the default constructor instead and let JFreeChart manage the chart reference 
org.jfree.chart.entity.PieSectionEntity(int, int, Comparable, Shape, String)
          Use alternative constructor. 
org.jfree.chart.entity.PieSectionEntity(int, int, Comparable, Shape, String, String)
          Use alternative constructor. 
org.jfree.chart.StandardLegend(JFreeChart)
          use the default constructor instead and let JFreeChart manage the chart reference 
org.jfree.data.time.TimePeriodValuesCollection(TimePeriodValues, TimeZone)
          TimeZone parameter is not used. 
org.jfree.data.time.TimePeriodValuesCollection(TimeZone)
          The TimeZone is ignored, use an alternative constructor. 
org.jfree.chart.entity.XYItemEntity(Shape, String, int, int)
          Use alternative constructor. 
org.jfree.chart.entity.XYItemEntity(Shape, String, String, int, int)
          Use alternative constructor.