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.chart.DefaultShapeFactory
          No longer used. Shapes are supplied by the DrawingSupplier if necessary. 
org.jfree.chart.renderer.ItemLabelAnchorTable
          This class is longer used in JFreeChart and will be removed prior to the release of JFreeChart 1.0.0. 
org.jfree.chart.SeriesShapeFactory
          No longer used. Shapes are supplied by the DrawingSupplier class. 
org.jfree.chart.labels.StandardPieToolTipGenerator
          Use StandardPieItemLabelGenerator. 
org.jfree.data.Statistics
          Use org.jfree.data.statistics.Statistics instead. 
org.jfree.data.XYDataPair
          Use XYDataItem. 
 

Deprecated Interfaces
org.jfree.chart.ShapeFactory
          This interface is no longer used, shapes are obtained from the DrawingSupplier. 
 

Deprecated Fields
org.jfree.data.time.TimePeriodValuesCollection.END
          Replaced by TimePeriodAnchor.END. 
org.jfree.data.time.TimePeriodValuesCollection.MIDDLE
          Replaced by TimePeriodAnchor.MIDDLE. 
org.jfree.data.time.TimePeriodValuesCollection.START
          Replaced by TimePeriodAnchor.START. 
 

Deprecated Methods
org.jfree.chart.plot.CategoryPlot.addSecondaryRangeMarker(Marker)
          Use addSecondaryRangeMarker(int, Marker, Layer). 
org.jfree.chart.plot.XYPlot.clearSecondaryRangeMarkers()
          Use clearSecondaryRangeMarkers(int). 
org.jfree.chart.plot.CategoryPlot.clearSecondaryRangeMarkers()
          Use clearSecondaryRangeMarkers(int). 
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.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.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.plot.CategoryPlot.drawSecondaryRangeMarkers(Graphics2D, Rectangle2D)
          Use drawSecondaryRangeMarkers(g2, dataArea, int, Layer). 
org.jfree.chart.renderer.AbstractRenderer.getBaseItemLabelAnchor()
          Use getBasePositiveItemLabelPosition/getBaseNegativeItemLabelPosition. 
org.jfree.chart.renderer.CategoryItemRenderer.getBaseItemLabelAnchor()
          Use getBaseItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.getBaseItemLabelAngle()
          Use getBasePositiveItemLabelPosition/getBaseNegativeItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.getBaseItemLabelRotationAnchor()
          Use getBasePositiveItemLabelRotationAnchor/ getBaseNegativeItemLabelRotationAnchor. 
org.jfree.chart.renderer.AbstractRenderer.getBaseItemLabelTextAnchor()
          Use getBasePositiveItemLabelTextAnchor/getBaseNegativeItemLabelTextAnchor. 
org.jfree.chart.renderer.CategoryItemRenderer.getBaseItemLabelTextAnchor()
          Use setBaseItemLabelPosition. 
org.jfree.chart.axis.CategoryAxis.getBottomCategoryLabelPosition()
          Use getCategoryLabelPositions().getLabelPosition(RectangleEdge.BOTTOM). 
org.jfree.chart.plot.ContourPlot.getContourDataset()
          Use the getDataset() method instead. 
org.jfree.chart.plot.ThermometerPlot.getData()
          Use getDataset() instead. 
org.jfree.data.XYSeries.getDataPair(int)
          Use getDataItem(index). 
org.jfree.data.time.TimeSeries.getDataPair(int)
          Use getDataItem(int). 
org.jfree.data.time.TimeSeries.getDataPair(RegularTimePeriod)
          Use getDataItem(RegularTimePeriod). 
org.jfree.chart.plot.PiePlot.getDefaultOutlinePaint()
          Use getSectionOutlinePaint. 
org.jfree.chart.plot.PiePlot.getDefaultOutlineStroke()
          Use getSectionOutlineStroke. 
org.jfree.chart.plot.PiePlot.getDefaultPaint()
          Use getSectionPaint(). 
org.jfree.chart.plot.MeterPlot.getDialType()
          Use getDialShape(). 
org.jfree.chart.renderer.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 getPositiveItemLabelAnchor. 
org.jfree.chart.renderer.CategoryItemRenderer.getItemLabelAnchor(int, int)
          Use getItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.getItemLabelAngle(int, int)
          Use getPositiveItemLabelPosition/getNegativeItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.getItemLabelRotationAnchor(int, int)
          Use getPositiveItemLabelRotationAnchor/getNegativeItemLabelRotationAnchor. 
org.jfree.chart.renderer.AbstractRenderer.getItemLabelTextAnchor(int, int)
          Use getPositiveItemLabelTextAnchor/getNegativeItemLabelTextAnchor. 
org.jfree.chart.renderer.CategoryItemRenderer.getItemLabelTextAnchor(int, int)
          Use getItemLabelPosition. 
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.chart.axis.ValueAxis.getMinimumAxisValue()
          Use getLowerBound(). 
org.jfree.chart.plot.PiePlot.getOutlinePaint(int)
          Use getSectionOutlinePaint. 
org.jfree.chart.plot.PiePlot.getOutlineStroke(int)
          Use getSectionOutlineStroke. 
org.jfree.chart.plot.PiePlot.getPaint(int)
          Use getSectionPaint(int). 
org.jfree.data.time.TimePeriodValuesCollection.getPosition()
          Use getXPosition(). 
org.jfree.data.time.TimeSeriesCollection.getPosition()
          Use getXPosition(). 
org.jfree.chart.plot.CategoryPlot.getRangeMarkers()
          Use getRangeMarkers(Layer). 
org.jfree.chart.axis.CategoryAxis.getRightCategoryLabelPosition()
          Use getCategoryLabelPositions().getLabelPosition(RectangleEdge.RIGHT). 
org.jfree.chart.plot.CategoryPlot.getSecondaryRangeMarkers()
          Use getSecondaryRangeMarkers(int, Layer), and note that it returns a Collection rather than a List. 
org.jfree.chart.renderer.AbstractRenderer.getSeriesItemLabelAnchor(int)
          Use getSeriesPositiveItemLabelPosition(). 
org.jfree.chart.renderer.CategoryItemRenderer.getSeriesItemLabelAnchor(int)
          Use getSeriesItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.getSeriesItemLabelAngle(int)
          Use getSeriesPositiveItemLabelPosition/getSeriesNegativeItemLabelPosition. 
org.jfree.chart.renderer.CategoryItemRenderer.getSeriesItemLabelFont(int)
          Use getSeriesItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.getSeriesItemLabelRotationAnchor(int)
          Use getSeriesPositiveItemLabelRotationAnchor/ getSeriesNegativeItemLabelRotationAnchor. 
org.jfree.chart.renderer.AbstractRenderer.getSeriesItemLabelTextAnchor(int)
          Use getSeriesPositiveItemLabelTextAnchor/getSeriesNegativeItemLabelTextAnchor. 
org.jfree.chart.renderer.CategoryItemRenderer.getSeriesItemLabelTextAnchor(int)
          User getSeriesItemLabelPosition. 
org.jfree.chart.axis.CategoryAxis.getSkipCategoryLabelsToFit()
          No longer supported. 
org.jfree.chart.JFreeChart.getSuppressChartChangeEvents()
          Use isNotify() instead. 
org.jfree.chart.ui.ChartPropertyEditPanel.getTitlePropertyEditPanel()
          returns null, until the title panel is implemented properly. 
org.jfree.chart.plot.PiePlot.getToolTipGenerator()
          Use getItemLabelGenerator(). 
org.jfree.chart.axis.CategoryAxis.getTopCategoryLabelPosition()
          Use getCategoryLabelPositions().getLabelPosition(RectangleEdge.TOP). 
org.jfree.chart.renderer.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.CategoryItemRenderer.setBaseItemLabelAnchor(ItemLabelAnchor)
          Use setBaseItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.setBaseItemLabelRotationAnchor(TextAnchor)
          Use setBasePositiveItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.setBaseItemLabelTextAnchor(TextAnchor)
          Use setBasePositiveItemLabelTextAnchor/setBaseNegativeItemLabelTextAnchor. 
org.jfree.chart.renderer.CategoryItemRenderer.setBaseItemLabelTextAnchor(TextAnchor)
          Use setBaseItemLabelPosition. 
org.jfree.chart.axis.CategoryAxis.setBottomCategoryLabelPosition(CategoryLabelPosition)
          Use setCategoryLabelPositions(...). 
org.jfree.chart.plot.ThermometerPlot.setData(ValueDataset)
          Use setDataset(...) instead. 
org.jfree.chart.plot.PiePlot.setDefaultOutlinePaint(Paint)
          Use setSectionOutlinePaint(paint). 
org.jfree.chart.plot.PiePlot.setDefaultOutlineStroke(Stroke)
          Use setSectionOutlineStroke. 
org.jfree.chart.plot.PiePlot.setDefaultPaint(Paint)
          Use setSectionPaint(Paint). 
org.jfree.chart.plot.MeterPlot.setDialType(int)
          Use setDialShape(...). 
org.jfree.chart.renderer.AbstractRenderer.setItemLabelAnchor(ItemLabelAnchor)
          Use setPositiveItemLabelPosition/setNegativeItemLabelPosition. 
org.jfree.chart.renderer.CategoryItemRenderer.setItemLabelAnchor(ItemLabelAnchor)
          Use setItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.setItemLabelAngle(Number)
          Use setPositiveItemLabelPosition/setNegativeItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.setItemLabelRotationAnchor(TextAnchor)
          Use setPositiveItemLabelRotationAnchor/setNegativeItemLabelRotationAnchor. 
org.jfree.chart.renderer.AbstractRenderer.setItemLabelTextAnchor(TextAnchor)
          Use setPositiveItemLabelTextAnchor/setNegativeItemLabelTextAnchor. 
org.jfree.chart.renderer.CategoryItemRenderer.setItemLabelTextAnchor(TextAnchor)
          Use setItemLabelPosition. 
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.chart.plot.PiePlot.setOutlinePaint(int, Paint)
          Use setSectionOutlinePaint. 
org.jfree.chart.plot.PiePlot.setOutlineStroke(int, Stroke)
          Use setSectionOutlineStroke. 
org.jfree.chart.plot.PiePlot.setPaint(int, Paint)
          Use setSectionPaint(int, Paint). 
org.jfree.data.time.TimePeriodValuesCollection.setPosition(int)
          Use setXPosition(...). 
org.jfree.data.time.TimeSeriesCollection.setPosition(int)
          Use setXPosition(...). 
org.jfree.chart.axis.CategoryAxis.setRightCategoryLabelPosition(CategoryLabelPosition)
          Use setLabelPositions(...). 
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.CategoryItemRenderer.setSeriesItemLabelAnchor(int, ItemLabelAnchor)
          Use setSeriesItemLabelPosition. 
org.jfree.chart.renderer.AbstractRenderer.setSeriesItemLabelRotationAnchor(int, TextAnchor)
          Use setSeriesPositiveItemLabelRotationAnchor/ setSeriesNegativeItemLabelRotationAnchor. 
org.jfree.chart.renderer.AbstractRenderer.setSeriesItemLabelTextAnchor(int, TextAnchor)
          Use setSeriesPositiveItemLabelTextAnchor/setSeriesNegativeItemLabelAnchor. 
org.jfree.chart.renderer.CategoryItemRenderer.setSeriesItemLabelTextAnchor(int, TextAnchor)
          Use setSeriesItemLabelPosition. 
org.jfree.chart.axis.CategoryAxis.setSkipCategoryLabelsToFit(boolean)
          No longer supported. 
org.jfree.chart.JFreeChart.setSuppressChartChangeEvents(boolean)
          Use setNotify(boolean) instead. 
org.jfree.chart.plot.PiePlot.setToolTipGenerator(PieItemLabelGenerator)
          Use setItemLabelGenerator. 
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.ValueAxis.translateJava2DtoValue(float, Rectangle2D, RectangleEdge)
          Use translateJava2DToValue(double, ...). 
 

Deprecated Constructors
org.jfree.chart.renderer.AbstractXYItemRenderer(XYToolTipGenerator)
          Use default constructor then set tooltip generator. 
org.jfree.chart.renderer.AbstractXYItemRenderer(XYToolTipGenerator, XYURLGenerator)
          Use default constructor then set URL generator. 
org.jfree.chart.renderer.AbstractXYItemRenderer(XYURLGenerator)
          Use default constructor then set URL generator. 
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.renderer.HighLowRenderer(XYToolTipGenerator)
          Use default constructor then set tooltip generator. 
org.jfree.chart.Legend(JFreeChart)
          use the default constructor instead and let JFreeChart manage the chart reference 
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.renderer.WindItemRenderer(XYToolTipGenerator, XYURLGenerator)
          Use default constructor and then set generators. 
org.jfree.chart.renderer.XYBarRenderer(double, XYToolTipGenerator, XYURLGenerator)
          Use default constructor then set tooltip generator and URL generator. 
org.jfree.chart.renderer.XYBubbleRenderer(int, XYZToolTipGenerator, XYZURLGenerator)
          Use default 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. 
org.jfree.chart.renderer.YIntervalRenderer(XYToolTipGenerator)
          Use default constructor.