## Uses of Interface
org.jfree.data.xy.XYDataset

Packages that use XYDataset
Package | Description
--- | ---
org.jfree.chart | Core classes, including `JFreeChart` and `ChartPanel`.
org.jfree.chart.entity | Classes representing components of (or entities in) a chart.
org.jfree.chart.labels | Generators and other classes used for the display of item labels and tooltips.
org.jfree.chart.plot | Plot classes and related interfaces.
org.jfree.chart.renderer | Core support for the plug-in renderers used by the `CategoryPlot` and `XYPlot` classes.
org.jfree.chart.renderer.xy | Plug-in renderers for the `XYPlot` class.
org.jfree.chart.urls | Classes for adding URLS to charts for HTML image map generation.
org.jfree.data.contour | Datasets used by the `ContourPlot` class.
org.jfree.data.gantt | Data interfaces and classes for Gantt charts.
org.jfree.data.general | Data interfaces and classes.
org.jfree.data.jdbc | Dataset classes that fetch data from a database via JDBC.
org.jfree.data.statistics | Classes for representing statistical data.
org.jfree.data.time | Interfaces and classes for time-related data.
org.jfree.data.time.ohlc | Classes for representing financial data in open-high-low-close form.
org.jfree.data.xy | A package containing the `XYDataset` interface and related classes.

### Uses of XYDataset in org.jfree.chart

Methods in org.jfree.chart with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`static JFreeChart` | ChartFactory.`createPolarChart(java.lang.String title, XYDataset dataset, boolean legend, boolean tooltips, boolean urls)` Creates a polar plot for the specified dataset (x-values interpreted as angles in degrees).
`static JFreeChart` | ChartFactory.`createScatterPlot(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a scatter plot with default settings.
`static JFreeChart` | ChartFactory.`createTimeSeriesChart(java.lang.String title, java.lang.String timeAxisLabel, java.lang.String valueAxisLabel, XYDataset dataset, boolean legend, boolean tooltips, boolean urls)` Creates and returns a time series chart.
`static JFreeChart` | ChartFactory.`createXYAreaChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates an area chart using an `XYDataset`.
`static JFreeChart` | ChartFactory.`createXYLineChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a line chart (based on an `XYDataset`) with default settings.
`static JFreeChart` | ChartFactory.`createXYStepAreaChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a filled stepped XY plot with default settings.
`static JFreeChart` | ChartFactory.`createXYStepChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a stepped XY plot with default settings.

### Uses of XYDataset in org.jfree.chart.entity

Methods in org.jfree.chart.entity that return XYDataset
Modifier and Type | Method and Description
--- | ---
`XYDataset` | XYItemEntity.`getDataset()` Returns the dataset this entity refers to.

Methods in org.jfree.chart.entity with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`void` | XYItemEntity.`setDataset(XYDataset dataset)` Sets the dataset this entity refers to.

Constructors in org.jfree.chart.entity with parameters of type XYDataset
Constructor and Description
`XYItemEntity(java.awt.Shape area, XYDataset dataset, int series, int item, java.lang.String toolTipText, java.lang.String urlText)` Creates a new entity.

### Uses of XYDataset in org.jfree.chart.labels

Methods in org.jfree.chart.labels with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`protected java.lang.Object[]` | StandardXYSeriesLabelGenerator.`createItemArray(XYDataset dataset, int series)` Creates the array of items that can be passed to the `MessageFormat` class for creating labels.
`protected java.lang.Object[]` | MultipleXYSeriesLabelGenerator.`createItemArray(XYDataset dataset, int series)` Creates the array of items that can be passed to the `MessageFormat` class for creating labels.
`protected java.lang.Object[]` | IntervalXYItemLabelGenerator.`createItemArray(XYDataset dataset, int series, int item)` Creates the array of items that can be passed to the `MessageFormat` class for creating labels.
`protected java.lang.Object[]` | BoxAndWhiskerXYToolTipGenerator.`createItemArray(XYDataset dataset, int series, int item)` Creates the array of items that can be passed to the `MessageFormat` class for creating labels.
`protected java.lang.Object[]` | AbstractXYItemLabelGenerator.`createItemArray(XYDataset dataset, int series, int item)` Creates the array of items that can be passed to the `MessageFormat` class for creating labels.
`java.lang.String` | XYSeriesLabelGenerator.`generateLabel(XYDataset dataset, int series)` Generates a label for the specified series.
`java.lang.String` | StandardXYSeriesLabelGenerator.`generateLabel(XYDataset dataset, int series)` Generates a label for the specified series.
`java.lang.String` | MultipleXYSeriesLabelGenerator.`generateLabel(XYDataset dataset, int series)` Generates a label for the specified series.
`java.lang.String` | XYItemLabelGenerator.`generateLabel(XYDataset dataset, int series, int item)` Generates a label for the specified item.
`java.lang.String` | SymbolicXYItemLabelGenerator.`generateLabel(XYDataset dataset, int series, int category)` Generates a label for the specified item.
`java.lang.String` | StandardXYItemLabelGenerator.`generateLabel(XYDataset dataset, int series, int item)` Generates the item label text for an item in a dataset.
`java.lang.String` | IntervalXYItemLabelGenerator.`generateLabel(XYDataset dataset, int series, int item)` Generates the item label text for an item in a dataset.
`java.lang.String` | HighLowItemLabelGenerator.`generateLabel(XYDataset dataset, int series, int category)` Generates a label for the specified item.
`java.lang.String` | BubbleXYItemLabelGenerator.`generateLabel(XYDataset dataset, int series, int item)` Generates an item label for a particular item within a series.
`java.lang.String` | StandardXYZToolTipGenerator.`generateLabelString(XYDataset dataset, int series, int item)` Generates a label string for an item in the dataset.
`java.lang.String` | BubbleXYItemLabelGenerator.`generateLabelString(XYDataset dataset, int series, int item)` Generates a label string for an item in the dataset.
`java.lang.String` | AbstractXYItemLabelGenerator.`generateLabelString(XYDataset dataset, int series, int item)` Generates a label string for an item in the dataset.
`java.lang.String` | XYToolTipGenerator.`generateToolTip(XYDataset dataset, int series, int item)` Generates the tooltip text for the specified item.
`java.lang.String` | SymbolicXYItemLabelGenerator.`generateToolTip(XYDataset data, int series, int item)` Generates a tool tip text item for a particular item within a series.
`java.lang.String` | StandardXYToolTipGenerator.`generateToolTip(XYDataset dataset, int series, int item)` Generates the tool tip text for an item in a dataset.
`java.lang.String` | HighLowItemLabelGenerator.`generateToolTip(XYDataset dataset, int series, int item)` Generates a tooltip text item for a particular item within a series.
`java.lang.String` | CustomXYToolTipGenerator.`generateToolTip(XYDataset data, int series, int item)` Generates a tool tip text item for a particular item within a series.

### Uses of XYDataset in org.jfree.chart.plot

Methods in org.jfree.chart.plot that return XYDataset
Modifier and Type | Method and Description
--- | ---
`XYDataset` | XYPlot.`getDataset()` Returns the primary dataset for the plot.
`XYDataset` | PolarPlot.`getDataset()` Returns the primary dataset for the plot.
`XYDataset` | XYPlot.`getDataset(int index)` Returns a dataset.
`XYDataset` | PolarPlot.`getDataset(int index)` Returns the dataset with the specified index, if any.

Methods in org.jfree.chart.plot with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`XYItemRenderer` | XYPlot.`getRendererForDataset(XYDataset dataset)` Returns the renderer for the specified dataset.
`int` | XYPlot.`indexOf(XYDataset dataset)` Returns the index of the specified dataset, or `-1` if the dataset does not belong to the plot.
`int` | PolarPlot.`indexOf(XYDataset dataset)` Returns the index of the specified dataset, or `-1` if the dataset does not belong to the plot.
`void` | XYPlot.`setDataset(int index, XYDataset dataset)` Sets a dataset for the plot.
`void` | PolarPlot.`setDataset(int index, XYDataset dataset)` Sets a dataset for the plot, replacing the existing dataset at the same index if there is one, and sends a `link PlotChangeEvent` to all registered listeners.
`void` | XYPlot.`setDataset(XYDataset dataset)` Sets the primary dataset for the plot, replacing the existing dataset if there is one.
`void` | PolarPlot.`setDataset(XYDataset dataset)` Sets the primary dataset for the plot, replacing the existing dataset if there is one, and sends a `link PlotChangeEvent` to all registered listeners.

Constructors in org.jfree.chart.plot with parameters of type XYDataset
Constructor and Description
`PolarPlot(XYDataset dataset, ValueAxis radiusAxis, PolarItemRenderer renderer)` Creates a new plot.
`XYPlot(XYDataset dataset, ValueAxis domainAxis, ValueAxis rangeAxis, XYItemRenderer renderer)` Creates a new plot with the specified dataset, axes and renderer.

### Uses of XYDataset in org.jfree.chart.renderer

Methods in org.jfree.chart.renderer with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`protected void` | DefaultPolarItemRenderer.`addEntity(EntityCollection entities, java.awt.Shape area, XYDataset dataset, int series, int item, double entityX, double entityY)` Adds an entity to the collection.
`void` | PolarItemRenderer.`drawSeries(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex)` Plots the data for a given series.
`void` | DefaultPolarItemRenderer.`drawSeries(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, PolarPlot plot, XYDataset dataset, int seriesIndex)` Plots the data for a given series.
`static int[]` | RendererUtilities.`findLiveItems(XYDataset dataset, int series, double xLow, double xHigh)` Finds a range of item indices that is guaranteed to contain all the x-values from x0 to x1 (inclusive).
`static int` | RendererUtilities.`findLiveItemsLowerBound(XYDataset dataset, int series, double xLow, double xHigh)` Finds the lower index of the range of live items in the specified data series.
`static int` | RendererUtilities.`findLiveItemsUpperBound(XYDataset dataset, int series, double xLow, double xHigh)` Finds the upper index of the range of live items in the specified data series.

### Uses of XYDataset in org.jfree.chart.renderer.xy

Classes in org.jfree.chart.renderer.xy that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`protected static class` | `CyclicXYItemRenderer.OverwriteDataSet` A dataset to hold the interpolated points when drawing new lines.

Fields in org.jfree.chart.renderer.xy declared as XYDataset
Modifier and Type | Field and Description
--- | ---
`protected XYDataset` | CyclicXYItemRenderer.OverwriteDataSet.`delegateSet` The delegate dataset.

Methods in org.jfree.chart.renderer.xy with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`protected void` | AbstractXYItemRenderer.`addEntity(EntityCollection entities, java.awt.Shape area, XYDataset dataset, int series, int item, double entityX, double entityY)` Adds an entity to the collection.
`void` | XYBoxAndWhiskerRenderer.`drawHorizontalItem(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | YIntervalRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYStepRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYStepAreaRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYShapeRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the block representing the specified item.
`void` | XYLineAndShapeRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYItemRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Called for each item to be plotted.
`void` | XYErrorRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation for one data item.
`void` | XYDotRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYDifferenceRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYBubbleRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYBoxAndWhiskerRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYBlockRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the block representing the specified item.
`void` | XYBarRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYAreaRenderer2.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYAreaRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | WindItemRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D plotArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | VectorRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the block representing the specified item.
`void` | StandardXYItemRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | StackedXYBarRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | StackedXYAreaRenderer2.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | StackedXYAreaRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | SamplingXYLineRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | HighLowRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | DeviationRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | CyclicXYItemRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | ClusteredXYBarRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | CandlestickRenderer.`drawItem(java.awt.Graphics2D g2, XYItemRendererState state, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`protected void` | AbstractXYItemRenderer.`drawItemLabel(java.awt.Graphics2D g2, PlotOrientation orientation, XYDataset dataset, int series, int item, double x, double y, boolean negative)` Draws an item label.
`protected void` | XYBarRenderer.`drawItemLabel(java.awt.Graphics2D g2, XYDataset dataset, int series, int item, XYPlot plot, XYItemLabelGenerator generator, java.awt.geom.Rectangle2D bar, boolean negative)` Draws an item label.
`protected void` | XYDifferenceRenderer.`drawItemPass0(java.awt.Graphics2D x_graphics, java.awt.geom.Rectangle2D x_dataArea, PlotRenderingInfo x_info, XYPlot x_plot, ValueAxis x_domainAxis, ValueAxis x_rangeAxis, XYDataset x_dataset, int x_series, int x_item, CrosshairState x_crosshairState)` Draws the visual representation of a single data item, first pass.
`protected void` | XYDifferenceRenderer.`drawItemPass1(java.awt.Graphics2D x_graphics, java.awt.geom.Rectangle2D x_dataArea, PlotRenderingInfo x_info, XYPlot x_plot, ValueAxis x_domainAxis, ValueAxis x_rangeAxis, XYDataset x_dataset, int x_series, int x_item, CrosshairState x_crosshairState)` Draws the visual representation of a single data item, second pass.
`protected void` | XYLineAndShapeRenderer.`drawPrimaryLine(XYItemRendererState state, java.awt.Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, java.awt.geom.Rectangle2D dataArea)` Draws the item (first pass).
`protected void` | XYSplineRenderer.`drawPrimaryLineAsPath(XYItemRendererState state, java.awt.Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, java.awt.geom.Rectangle2D dataArea)` Draws the item (first pass).
`protected void` | XYLineAndShapeRenderer.`drawPrimaryLineAsPath(XYItemRendererState state, java.awt.Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, ValueAxis rangeAxis, java.awt.geom.Rectangle2D dataArea)` Draws the item (first pass).
`protected void` | XYLineAndShapeRenderer.`drawSecondaryPass(java.awt.Graphics2D g2, XYPlot plot, XYDataset dataset, int pass, int series, int item, ValueAxis domainAxis, java.awt.geom.Rectangle2D dataArea, ValueAxis rangeAxis, CrosshairState crosshairState, EntityCollection entities)` Draws the item shapes and adds chart entities (second pass).
`void` | XYBoxAndWhiskerRenderer.`drawVerticalItem(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)` Draws the visual representation of a single data item.
`void` | XYItemRendererState.`endSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)` This method is called by the `XYPlot` when it ends a pass through the (visible) items in a series.
`Range` | XYShapeRenderer.`findDomainBounds(XYDataset dataset)` Returns the lower and upper bounds (range) of the x-values in the specified dataset.
`Range` | XYItemRenderer.`findDomainBounds(XYDataset dataset)` Returns the lower and upper bounds (range) of the x-values in the specified dataset.
`Range` | XYErrorRenderer.`findDomainBounds(XYDataset dataset)` Returns the range required by this renderer to display all the domain values in the specified dataset.
`Range` | XYBlockRenderer.`findDomainBounds(XYDataset dataset)` Returns the lower and upper bounds (range) of the x-values in the specified dataset.
`Range` | XYBarRenderer.`findDomainBounds(XYDataset dataset)` Returns the lower and upper bounds (range) of the x-values in the specified dataset.
`Range` | VectorRenderer.`findDomainBounds(XYDataset dataset)` Returns the lower and upper bounds (range) of the x-values in the specified dataset.
`Range` | ClusteredXYBarRenderer.`findDomainBounds(XYDataset dataset)` Returns the x-value bounds for the specified dataset.
`Range` | AbstractXYItemRenderer.`findDomainBounds(XYDataset dataset)` Returns the lower and upper bounds (range) of the x-values in the specified dataset.
`protected Range` | AbstractXYItemRenderer.`findDomainBounds(XYDataset dataset, boolean includeInterval)` Returns the lower and upper bounds (range) of the x-values in the specified dataset.
`Range` | YIntervalRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | XYShapeRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | XYItemRenderer.`findRangeBounds(XYDataset dataset)` Returns the lower and upper bounds (range) of the y-values in the specified dataset.
`Range` | XYErrorRenderer.`findRangeBounds(XYDataset dataset)` Returns the range required by this renderer to display all the range values in the specified dataset.
`Range` | XYBoxAndWhiskerRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | XYBlockRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | XYBarRenderer.`findRangeBounds(XYDataset dataset)` Returns the lower and upper bounds (range) of the y-values in the specified dataset.
`Range` | VectorRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | StackedXYBarRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | StackedXYAreaRenderer2.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | StackedXYAreaRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | HighLowRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | DeviationRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | CandlestickRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`Range` | AbstractXYItemRenderer.`findRangeBounds(XYDataset dataset)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`protected Range` | AbstractXYItemRenderer.`findRangeBounds(XYDataset dataset, boolean includeInterval)` Returns the range of values the renderer requires to display all the items from the specified dataset.
`protected java.awt.Paint` | XYShapeRenderer.`getPaint(XYDataset dataset, int series, int item)` Get the paint for a given series and item from a dataset.
`XYItemRendererState` | XYStepAreaRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.
`XYItemRendererState` | XYSplineRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.
`XYItemRendererState` | XYLineAndShapeRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.
`XYItemRendererState` | XYItemRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info)` Initialises the renderer then returns the number of 'passes' through the data that the renderer will require (usually just one).
`XYItemRendererState` | XYDifferenceRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer and returns a state object that should be passed to subsequent calls to the drawItem() method.
`XYItemRendererState` | XYBarRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info)` Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.
`XYItemRendererState` | XYAreaRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.
`XYItemRendererState` | StandardXYItemRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.
`XYItemRendererState` | StackedXYBarRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.
`XYItemRendererState` | StackedXYAreaRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.
`XYItemRendererState` | SamplingXYLineRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.

`XYItemRendererState`

DeviationRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info)`
Initialises and returns a state object that can be passed to each invocation of the `DeviationRenderer.drawItem(java.awt.Graphics2D, org.jfree.chart.renderer.xy.XYItemRendererState, java.awt.geom.Rectangle2D, org.jfree.chart.plot.PlotRenderingInfo, org.jfree.chart.plot.XYPlot, org.jfree.chart.axis.ValueAxis, org.jfree.chart.axis.ValueAxis, org.jfree.data.xy.XYDataset, int, int, org.jfree.chart.plot.CrosshairState, int)` method.

`XYItemRendererState` | CandlestickRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset dataset, PlotRenderingInfo info)` Initialises the renderer then returns the number of 'passes' through the data that the renderer will require (usually just one).
`XYItemRendererState` | AbstractXYItemRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer and returns a state object that should be passed to all subsequent calls to the drawItem() method.
`void` | XYLineAndShapeRenderer.State.`startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)` This method is called by the `XYPlot` at the start of each series pass.
`void` | XYItemRendererState.`startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)` This method is called by the `XYPlot` when it starts a pass through the (visible) items in a series.
`void` | SamplingXYLineRenderer.State.`startSeriesPass(XYDataset dataset, int series, int firstItem, int lastItem, int pass, int passCount)` This method is called by the `XYPlot` at the start of each series pass.

Constructors in org.jfree.chart.renderer.xy with parameters of type XYDataset
Constructor and Description
`CyclicXYItemRenderer.OverwriteDataSet(double[] x, double[] y, XYDataset delegateSet)` Creates a new dataset.

### Uses of XYDataset in org.jfree.chart.urls

Methods in org.jfree.chart.urls with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`java.lang.String` | XYURLGenerator.`generateURL(XYDataset dataset, int series, int item)` Generates a URL for a particular item within a series.
`java.lang.String` | TimeSeriesURLGenerator.`generateURL(XYDataset dataset, int series, int item)` Generates a URL for a particular item within a series.
`java.lang.String` | StandardXYURLGenerator.`generateURL(XYDataset dataset, int series, int item)` Generates a URL for a particular item within a series.
`java.lang.String` | CustomXYURLGenerator.`generateURL(XYDataset dataset, int series, int item)` Generates a URL.

### Uses of XYDataset in org.jfree.data.contour

Subinterfaces of XYDataset in org.jfree.data.contour
Modifier and Type | Interface and Description
--- | ---
`interface` | `ContourDataset` Deprecated. This interface is no longer supported (as of version 1.0.4). If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.

Classes in org.jfree.data.contour that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`class` | `DefaultContourDataset` Deprecated. This class is no longer supported (as of version 1.0.4). If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.
`class` | `NonGridContourDataset` Deprecated. This class is no longer supported (as of version 1.0.4). If you are creating contour plots, please try to use `XYPlot` and `XYBlockRenderer`.

### Uses of XYDataset in org.jfree.data.gantt

Classes in org.jfree.data.gantt that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`class` | `XYTaskDataset` A dataset implementation that wraps a `TaskSeriesCollection` and presents it as an `IntervalXYDataset`, allowing a set of tasks to be displayed using an `XYBarRenderer` (and usually a `SymbolAxis`).

### Uses of XYDataset in org.jfree.data.general

Classes in org.jfree.data.general that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`class` | `CombinedDataset` Deprecated. As of version 1.0.13. This class will be removed from JFreeChart 1.2.0 onwards. Anyone needing this facility will need to maintain it outside of JFreeChart.
`class` | `SubSeriesDataset` Deprecated. As of version 1.0.13. This class will be removed from JFreeChart 1.2.0 onwards. Anyone needing this facility will need to maintain it outside of JFreeChart.

Methods in org.jfree.data.general that return XYDataset
Modifier and Type | Method and Description
--- | ---
`static XYDataset` | HeatMapUtilities.`extractColumnFromHeatMapDataset(HeatMapDataset dataset, int column, java.lang.Comparable seriesName)` Returns a dataset containing one series that holds a copy of the (y, z) data from one column (x-index) of the specified dataset.
`static XYDataset` | HeatMapUtilities.`extractRowFromHeatMapDataset(HeatMapDataset dataset, int row, java.lang.Comparable seriesName)` Returns a dataset containing one series that holds a copy of the (x, z) data from one row (y-index) of the specified dataset.
`static XYDataset` | DatasetUtilities.`sampleFunction2D(Function2D f, double start, double end, int samples, java.lang.Comparable seriesKey)` Creates an `XYDataset` by sampling the specified function over a fixed range.

Methods in org.jfree.data.general with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`static Range` | DatasetUtilities.`findDomainBounds(XYDataset dataset)` Returns the range of values in the domain (x-values) of a dataset.
`static Range` | DatasetUtilities.`findDomainBounds(XYDataset dataset, boolean includeInterval)` Returns the range of values in the domain (x-values) of a dataset.
`static Range` | DatasetUtilities.`findDomainBounds(XYDataset dataset, java.util.List visibleSeriesKeys, boolean includeInterval)` Returns the bounds of the x-values in the specified `dataset` taking into account only the visible series and including any x-interval if requested.
`static java.lang.Number` | DatasetUtilities.`findMaximumDomainValue(XYDataset dataset)` Returns the maximum domain value for the specified dataset.
`static java.lang.Number` | DatasetUtilities.`findMaximumRangeValue(XYDataset dataset)` Returns the maximum range value for the specified dataset.
`static java.lang.Number` | DatasetUtilities.`findMinimumDomainValue(XYDataset dataset)` Finds the minimum domain (or X) value for the specified dataset.
`static java.lang.Number` | DatasetUtilities.`findMinimumRangeValue(XYDataset dataset)` Returns the minimum range value for the specified dataset.
`static Range` | DatasetUtilities.`findRangeBounds(XYDataset dataset)` Returns the range of values in the range for the dataset.
`static Range` | DatasetUtilities.`findRangeBounds(XYDataset dataset, boolean includeInterval)` Returns the range of values in the range for the dataset.
`static Range` | DatasetUtilities.`findRangeBounds(XYDataset dataset, java.util.List visibleSeriesKeys, Range xRange, boolean includeInterval)` Finds the bounds of the y-values in the specified dataset, including only those series that are listed in visibleSeriesKeys, and those items whose x-values fall within the specified range.
`static boolean` | DatasetUtilities.`isEmptyOrNull(XYDataset dataset)` Returns `true` if the dataset is empty (or `null`), and `false` otherwise.
`static Range` | DatasetUtilities.`iterateDomainBounds(XYDataset dataset)` Iterates over the items in an `XYDataset` to find the range of x-values.
`static Range` | DatasetUtilities.`iterateDomainBounds(XYDataset dataset, boolean includeInterval)` Iterates over the items in an `XYDataset` to find the range of x-values.
`static Range` | DatasetUtilities.`iterateRangeBounds(XYDataset dataset)` Iterates over the data item of the xy dataset to find the range bounds.
`static Range` | DatasetUtilities.`iterateRangeBounds(XYDataset dataset, boolean includeInterval)` Iterates over the data items of the xy dataset to find the range bounds.
`static Range` | DatasetUtilities.`iterateToFindDomainBounds(XYDataset dataset, java.util.List visibleSeriesKeys, boolean includeInterval)` Returns the range of x-values in the specified dataset for the data items belonging to the visible series.
`static Range` | DatasetUtilities.`iterateToFindRangeBounds(XYDataset dataset, java.util.List visibleSeriesKeys, Range xRange, boolean includeInterval)` Returns the range of y-values in the specified dataset for the data items belonging to the visible series and with x-values in the given range.
`static Range` | DatasetUtilities.`iterateXYRangeBounds(XYDataset dataset)` Deprecated. As of 1.0.10, use `DatasetUtilities.iterateRangeBounds(XYDataset)`.

### Uses of XYDataset in org.jfree.data.jdbc

Classes in org.jfree.data.jdbc that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`class` | `JDBCXYDataset` This class provides an `XYDataset` implementation over a database JDBC result set.

### Uses of XYDataset in org.jfree.data.statistics

Subinterfaces of XYDataset in org.jfree.data.statistics
Modifier and Type | Interface and Description
--- | ---
`interface` | `BoxAndWhiskerXYDataset` An interface that defines data in the form of (x, max, min, average, median) tuples.

Classes in org.jfree.data.statistics that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`class` | `DefaultBoxAndWhiskerXYDataset` A simple implementation of the `BoxAndWhiskerXYDataset` interface.
`class` | `HistogramDataset` A dataset that can be used for creating histograms.
`class` | `SimpleHistogramDataset` A dataset used for creating simple histograms with custom defined bins.

Methods in org.jfree.data.statistics with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`static double[]` | Regression.`getOLSRegression(XYDataset data, int series)` Returns the parameters 'a' and 'b' for an equation y = a + bx, fitted to the data using ordinary least squares regression.
`static double[]` | Regression.`getPolynomialRegression(XYDataset dataset, int series, int order)` Returns the parameters 'a0', 'a1', 'a2', ..., 'an' for a polynomial function of order n, y = a0 + a1 * x + a2 * x^2 + ...
`static double[]` | Regression.`getPowerRegression(XYDataset data, int series)` Returns the parameters 'a' and 'b' for an equation y = ax^b, fitted to the data using a power regression equation.

### Uses of XYDataset in org.jfree.data.time

Classes in org.jfree.data.time that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`class` | `DynamicTimeSeriesCollection` A dynamic dataset.
`class` | `TimePeriodValuesCollection` A collection of `TimePeriodValues` objects.
`class` | `TimeSeriesCollection` A collection of time series objects.
`class` | `TimeTableXYDataset` A dataset for regular time periods that implements the `TableXYDataset` interface.

Methods in org.jfree.data.time that return XYDataset
Modifier and Type | Method and Description
--- | ---
`static XYDataset` | MovingAverage.`createMovingAverage(XYDataset source, java.lang.String suffix, double period, double skip)` Creates a new `XYDataset` containing the moving averages of each series in the `source` dataset.
`static XYDataset` | MovingAverage.`createMovingAverage(XYDataset source, java.lang.String suffix, long period, long skip)` Creates a new `XYDataset` containing the moving averages of each series in the `source` dataset.

Methods in org.jfree.data.time with parameters of type XYDataset
Modifier and Type | Method and Description
--- | ---
`static XYSeries` | MovingAverage.`createMovingAverage(XYDataset source, int series, java.lang.String name, double period, double skip)` Creates a new `XYSeries` containing the moving averages of one series in the `source` dataset.
`static XYDataset` | MovingAverage.`createMovingAverage(XYDataset source, java.lang.String suffix, double period, double skip)` Creates a new `XYDataset` containing the moving averages of each series in the `source` dataset.
`static XYDataset` | MovingAverage.`createMovingAverage(XYDataset source, java.lang.String suffix, long period, long skip)` Creates a new `XYDataset` containing the moving averages of each series in the `source` dataset.

### Uses of XYDataset in org.jfree.data.time.ohlc

Classes in org.jfree.data.time.ohlc that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`class` | `OHLCSeriesCollection` A collection of `OHLCSeries` objects.

### Uses of XYDataset in org.jfree.data.xy

Subinterfaces of XYDataset in org.jfree.data.xy
Modifier and Type | Interface and Description
--- | ---
`interface` | `IntervalXYDataset` An extension of the `XYDataset` interface that allows an x-interval and a y-interval to be defined.
`interface` | `IntervalXYZDataset` An extension of the `XYZDataset` interface that allows a range of data to be defined for any of the X values, the Y values, and the Z values.
`interface` | `OHLCDataset` An interface that defines data in the form of (x, high, low, open, close) tuples.
`interface` | `TableXYDataset` A dataset containing one or more data series containing (x, y) data items, where all series in the dataset share the same set of x-values.
`interface` | `VectorXYDataset` An extension of the `XYDataset` interface that allows a vector to be defined at a specific (x, y) location.
`interface` | `WindDataset` Interface for a dataset that supplies wind intensity and direction values observed at various points in time.
`interface` | `XYZDataset` The interface through which JFreeChart obtains data in the form of (x, y, z) items - used for XY and XYZ plots.

Classes in org.jfree.data.xy that implement XYDataset
Modifier and Type | Class and Description
--- | ---
`class` | `AbstractIntervalXYDataset` An base class that you can use to create new implementations of the `IntervalXYDataset` interface.
`class` | `AbstractXYDataset` An base class that you can use to create new implementations of the `XYDataset` interface.
`class` | `AbstractXYZDataset` An base class that you can use to create new implementations of the `XYZDataset` interface.
`class` | `CategoryTableXYDataset` An implementation variant of the `TableXYDataset` where every series shares the same x-values (required for generating stacked area charts).
`class` | `DefaultHighLowDataset` A simple implementation of the `OHLCDataset` interface.
`class` | `DefaultIntervalXYDataset` A dataset that defines a range (interval) for both the x-values and the y-values.
`class` | `DefaultOHLCDataset` A simple implementation of the `OHLCDataset` interface.
`class` | `DefaultTableXYDataset` An `XYDataset` where every series shares the same x-values (required for generating stacked area charts).
`class` | `DefaultWindDataset` A default implementation of the `WindDataset` interface.
`class` | `DefaultXYDataset` A default implementation of the `XYDataset` interface that stores data values in arrays of double primitives.
`class` | `DefaultXYZDataset` A default implementation of the `XYZDataset` interface that stores data values in arrays of double primitives.
`class` | `MatrixSeriesCollection` Represents a collection of `MatrixSeries` that can be used as a dataset.
`class` | `VectorSeriesCollection` A collection of `VectorSeries` objects.
`class` | `XIntervalSeriesCollection` A collection of `XIntervalSeries` objects.
`class` | `XYBarDataset` A dataset wrapper class that converts a standard `XYDataset` into an `IntervalXYDataset` suitable for use in creating XY bar charts.
`class` | `XYIntervalSeriesCollection` A collection of `XYIntervalSeries` objects.
`class` | `XYSeriesCollection` Represents a collection of `XYSeries` objects that can be used as a dataset.
`class` | `YIntervalSeriesCollection` A collection of `YIntervalSeries` objects.

Methods in org.jfree.data.xy that return XYDataset
Modifier and Type | Method and Description
--- | ---
`XYDataset` | XYBarDataset.`getUnderlyingDataset()` Returns the underlying dataset that was specified via the constructor.

Constructors in org.jfree.data.xy with parameters of type XYDataset
Constructor and Description
`IntervalXYDelegate(XYDataset dataset)` Creates a new delegate that.
`IntervalXYDelegate(XYDataset dataset, boolean autoWidth)` Creates a new delegate for the specified dataset.
`XYBarDataset(XYDataset underlying, double barWidth)` Creates a new dataset.