## Deprecated API

Contents

- Deprecated Interfaces
- Deprecated Classes
- Deprecated Fields
- Deprecated Methods

Deprecated Interfaces
org.jfree.data.contour.ContourDataset This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.chart.labels.ContourToolTipGenerator
org.jfree.chart.plot.ContourValuePlot This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.

Deprecated Classes
org.jfree.chart.ClipPath This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.chart.axis.ColorBar This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.chart.plot.ColorPalette This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.chart.entity.ContourEntity This class is no longer supported (as of version 1.0.4).
org.jfree.chart.plot.ContourPlot This plot is no longer supported, please use `XYPlot` with an `XYBlockRenderer`.
org.jfree.chart.plot.ContourPlotUtilities This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.data.contour.DefaultContourDataset This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.chart.DrawableLegendItem This class is not used by JFreeChart.
org.jfree.chart.plot.GreyPalette This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.data.contour.NonGridContourDataset This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.chart.editor.PaletteSample This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.chart.plot.RainbowPalette This class is no longer supported. If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
org.jfree.chart.labels.StandardContourToolTipGenerator This class is no longer supported (as of version 1.0.4).

Deprecated Fields
org.jfree.chart.axis.ValueAxis.DEFAULT_LOWER_BOUND From 1.0.5 onwards, the axis defines a defaultRange attribute (see `ValueAxis.getDefaultAutoRange()`).
org.jfree.chart.axis.ValueAxis.DEFAULT_UPPER_BOUND From 1.0.5 onwards, the axis defines a defaultRange attribute (see `ValueAxis.getDefaultAutoRange()`).
org.jfree.data.time.RegularTimePeriod.WORKING_CALENDAR This was a bad idea, don't use it!

Deprecated Methods
org.jfree.chart.axis.CategoryAxis.drawCategoryLabels(Graphics2D, Rectangle2D, RectangleEdge, AxisState, PlotRenderingInfo) Use `CategoryAxis.drawCategoryLabels(Graphics2D, Rectangle2D, Rectangle2D, RectangleEdge, AxisState, PlotRenderingInfo)`.
org.jfree.chart.renderer.xy.CandlestickRenderer.drawVolume() As of 1.0.5, you should use the `CandlestickRenderer.getDrawVolume()` method.
org.jfree.chart.block.AbstractBlock.getBorder() Use getBlockFrame() instead.
org.jfree.data.category.DefaultIntervalCategoryDataset.getCategories() Use `DefaultIntervalCategoryDataset.getColumnKeys()` instead.
org.jfree.data.time.TimeSeriesCollection.getDomainIsPointsInTime() This flag is no longer used (as of 1.0.1).
org.jfree.data.time.TimePeriodValuesCollection.getDomainIsPointsInTime() This flag is no longer used by JFreeChart (as of version 1.0.3).
org.jfree.chart.plot.PiePlot.getExplodePercent(int) Use `PiePlot.getExplodePercent(Comparable)` instead.
org.jfree.data.time.RegularTimePeriod.getFirstMillisecond(TimeZone) As of 1.0.3, you should avoid using this method (it creates a new Calendar instance every time it is called). You are advised to call `RegularTimePeriod.getFirstMillisecond(Calendar)` instead.
org.jfree.data.category.DefaultIntervalCategoryDataset.getItemCount() Use `DefaultIntervalCategoryDataset.getCategoryCount()` instead.
org.jfree.data.time.RegularTimePeriod.getLastMillisecond(TimeZone) As of 1.0.3, you should avoid using this method (it creates a new Calendar instance every time it is called). You are advised to call `RegularTimePeriod.getLastMillisecond(Calendar)` instead.
org.jfree.data.jdbc.JDBCXYDataset.getLegendItemCount() This method is not used in JFreeChart 1.0.x (it was left in the API by mistake and is officially deprecated from version 1.0.3 onwards).
org.jfree.data.jdbc.JDBCXYDataset.getLegendItemLabels() This method is not used in JFreeChart 1.0.x (it was left in the API by mistake and is officially deprecated from version 1.0.3 onwards).
org.jfree.chart.renderer.category.LevelRenderer.getMaxItemWidth() Use `LevelRenderer.getMaximumItemWidth()` instead.
org.jfree.data.time.RegularTimePeriod.getMiddleMillisecond(TimeZone) As of 1.0.3, you should avoid using this method (it creates a new Calendar instance every time it is called). You are advised to call `RegularTimePeriod.getMiddleMillisecond(Calendar)` instead.
org.jfree.chart.renderer.xy.XYAreaRenderer2.getPlotLines() This method was included in the API by mistake and serves no useful purpose. It has always returned `false`.
org.jfree.chart.plot.PiePlot.getSectionOutlinePaint(int) Use `PiePlot.getSectionOutlinePaint(Comparable)` instead.
org.jfree.chart.plot.PiePlot.getSectionOutlineStroke(int) Use `PiePlot.getSectionOutlineStroke(Comparable)` instead.
org.jfree.chart.plot.PiePlot.getSectionPaint(int) Use `PiePlot.getSectionPaint(Comparable)` instead.
org.jfree.data.category.DefaultIntervalCategoryDataset.getSeries() Use `DefaultIntervalCategoryDataset.getRowKeys()` instead.
org.jfree.chart.block.AbstractBlock.setBorder(BlockBorder) Use setBorderFrame() instead.
org.jfree.data.time.TimeSeriesCollection.setDomainIsPointsInTime(boolean) This flag is no longer used, as of 1.0.1. The `includeInterval` flag in methods such as `TimeSeriesCollection.getDomainBounds(boolean)` makes this unnecessary.
org.jfree.data.time.TimePeriodValuesCollection.setDomainIsPointsInTime(boolean) This flag is no longer used by JFreeChart (as of version 1.0.3).
org.jfree.chart.plot.PiePlot.setExplodePercent(int, double) Use `PiePlot.setExplodePercent(Comparable, double)` instead.
org.jfree.chart.renderer.category.LevelRenderer.setMaxItemWidth(double) Use `LevelRenderer.setMaximumItemWidth(double)` instead.
org.jfree.chart.plot.PiePlot.setSectionOutlinePaint(int, Paint) Use `PiePlot.setSectionOutlinePaint(Comparable, Paint)` instead.
org.jfree.chart.plot.PiePlot.setSectionOutlineStroke(int, Stroke) Use `PiePlot.setSectionOutlineStroke(Comparable, Stroke)` instead.
org.jfree.chart.plot.PiePlot.setSectionPaint(int, Paint) Use `PiePlot.setSectionPaint(Comparable, Paint)` instead.
org.jfree.data.xy.XYSeries.update(int, Number) Renamed updateByIndex(int, Number) to avoid confusion with the update(Number, Number) method.
org.jfree.chart.plot.CrosshairState.updateCrosshairPoint(double, double, double, double, PlotOrientation) Use `CrosshairState.updateCrosshairPoint(double, double, int, int, double, double, PlotOrientation)`. See bug report 1086307.
org.jfree.chart.renderer.xy.AbstractXYItemRenderer.updateCrosshairValues(CrosshairState, double, double, double, double, PlotOrientation) Use `AbstractXYItemRenderer.updateCrosshairValues(CrosshairState, double, double, int, int, double, double, PlotOrientation)` -- see bug report 1086307.
org.jfree.chart.plot.CrosshairState.updateCrosshairX(double) Use `CrosshairState.updateCrosshairX(double, int)`. See bug report 1086307.
org.jfree.chart.plot.CrosshairState.updateCrosshairY(double) Use `CrosshairState.updateCrosshairY(double, int)`. See bug report 1086307.