## Uses of Class
org.jfree.chart.plot.XYPlot

- Packages that use XYPlot
  Package | Description
  --- | ---
  org.jfree.chart |
  org.jfree.chart.annotations |
  org.jfree.chart.plot |
  org.jfree.chart.renderer.xy |

- - ### Uses of XYPlot in org.jfree.chart

    Methods in org.jfree.chart that return XYPlot
    Modifier and Type | Method and Description
    --- | ---
    `XYPlot` | JFreeChart.`getXYPlot()` Returns the plot cast as an `XYPlot`.

    Methods in org.jfree.chart with parameters of type XYPlot
    Modifier and Type | Method and Description
    --- | ---
    `protected void` | StandardChartTheme.`applyToXYPlot(XYPlot plot)` Applies the attributes of this theme to a `XYPlot`.

  - ### Uses of XYPlot in org.jfree.chart.annotations

    Methods in org.jfree.chart.annotations with parameters of type XYPlot
    Modifier and Type | Method and Description
    --- | ---
    `void` | XYTextAnnotation.`draw(java.awt.Graphics2D g2, XYPlot plot, java.awt.geom.Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)` Draws the annotation.
    `void` | XYAnnotation.`draw(java.awt.Graphics2D g2, XYPlot plot, java.awt.geom.Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)` Draws the annotation.
    `abstract void` | AbstractXYAnnotation.`draw(java.awt.Graphics2D g2, XYPlot plot, java.awt.geom.Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)` Draws the annotation.
    `void` | XYTitleAnnotation.`draw(java.awt.Graphics2D g2, XYPlot plot, java.awt.geom.Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, int rendererIndex, PlotRenderingInfo info)` Draws the annotation.

  - ### Uses of XYPlot in org.jfree.chart.plot

    Subclasses of XYPlot in org.jfree.chart.plot
    Modifier and Type | Class and Description
    --- | ---
    `class` | `CombinedDomainXYPlot` An extension of `XYPlot` that contains multiple subplots that share a common domain axis.
    `class` | `CombinedRangeXYPlot` An extension of `XYPlot` that contains multiple subplots that share a common range axis.

    Methods in org.jfree.chart.plot that return XYPlot
    Modifier and Type | Method and Description
    --- | ---
    `XYPlot` | CombinedDomainXYPlot.`findSubplot(PlotRenderingInfo info, java.awt.geom.Point2D source)` Returns the subplot (if any) that contains the (x, y) point (specified in Java2D space).
    `XYPlot` | CombinedRangeXYPlot.`findSubplot(PlotRenderingInfo info, java.awt.geom.Point2D source)` Returns the subplot (if any) that contains the (x, y) point (specified in Java2D space).

    Methods in org.jfree.chart.plot with parameters of type XYPlot
    Modifier and Type | Method and Description
    --- | ---
    `void` | CombinedDomainXYPlot.`add(XYPlot subplot)` Adds a subplot (with a default 'weight' of 1) and sends a `PlotChangeEvent` to all registered listeners.
    `void` | CombinedRangeXYPlot.`add(XYPlot subplot)` Adds a subplot, with a default 'weight' of 1.
    `void` | CombinedDomainXYPlot.`add(XYPlot subplot, int weight)` Adds a subplot with the specified weight and sends a `PlotChangeEvent` to all registered listeners.
    `void` | CombinedRangeXYPlot.`add(XYPlot subplot, int weight)` Adds a subplot with a particular weight (greater than or equal to one).
    `void` | CombinedDomainXYPlot.`remove(XYPlot subplot)` Removes a subplot from the combined chart and sends a `PlotChangeEvent` to all registered listeners.
    `void` | CombinedRangeXYPlot.`remove(XYPlot subplot)` Removes a subplot from the combined chart.

  - ### Uses of XYPlot in org.jfree.chart.renderer.xy

    Methods in org.jfree.chart.renderer.xy that return XYPlot
    Modifier and Type | Method and Description
    --- | ---
    `XYPlot` | XYItemRenderer.`getPlot()` Returns the plot that this renderer has been assigned to.
    `XYPlot` | AbstractXYItemRenderer.`getPlot()` Returns the plot that the renderer is assigned to.

    Methods in org.jfree.chart.renderer.xy with parameters of type XYPlot
    Modifier and Type | Method and Description
    --- | ---
    `void` | XYItemRenderer.`drawDomainGridLine(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double value)` Draws a grid line against the domain axis.
    `void` | AbstractXYItemRenderer.`drawDomainGridLine(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double value)` Draws a grid line against the range axis.
    `void` | AbstractXYItemRenderer.`drawDomainLine(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double value, java.awt.Paint paint, java.awt.Stroke stroke)` Draws a line perpendicular to the domain axis.
    `void` | XYItemRenderer.`drawDomainMarker(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, Marker marker, java.awt.geom.Rectangle2D dataArea)` Draws the specified `marker` against the domain axis.
    `void` | AbstractXYItemRenderer.`drawDomainMarker(java.awt.Graphics2D g2, XYPlot plot, ValueAxis domainAxis, Marker marker, java.awt.geom.Rectangle2D dataArea)` Draws a vertical line on the chart to represent a 'range marker'.
    `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` | 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` | 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` | 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.
    `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` | 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).
    `void` | XYItemRenderer.`drawRangeLine(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double value, java.awt.Paint paint, java.awt.Stroke stroke)` Draws a line perpendicular to the range axis.
    `void` | AbstractXYItemRenderer.`drawRangeLine(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double value, java.awt.Paint paint, java.awt.Stroke stroke)` Draws a line perpendicular to the range axis.
    `void` | XYItemRenderer.`drawRangeMarker(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, Marker marker, java.awt.geom.Rectangle2D dataArea)` Draws a horizontal line across the chart to represent a 'range marker'.
    `void` | AbstractXYItemRenderer.`drawRangeMarker(java.awt.Graphics2D g2, XYPlot plot, ValueAxis rangeAxis, Marker marker, java.awt.geom.Rectangle2D dataArea)` Draws a horizontal line across the chart to represent a 'range marker'.
    `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` | XYItemRenderer.`fillDomainGridBand(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double start, double end)` Fills a band between two values on the axis.
    `void` | AbstractXYItemRenderer.`fillDomainGridBand(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double start, double end)` Fills a band between two values on the axis.
    `void` | XYItemRenderer.`fillRangeGridBand(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double start, double end)` Fills a band between two values on the range axis.
    `void` | AbstractXYItemRenderer.`fillRangeGridBand(java.awt.Graphics2D g2, XYPlot plot, ValueAxis axis, java.awt.geom.Rectangle2D dataArea, double start, double end)` Fills a band between two values on the range axis.
    `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` | XYLineAndShapeRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.
    `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.
    `XYItemRendererState` | StandardXYItemRenderer.`initialise(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)` Initialises the renderer.
    `void` | XYItemRenderer.`setPlot(XYPlot plot)` Sets the plot that this renderer is assigned to.
    `void` | AbstractXYItemRenderer.`setPlot(XYPlot plot)` Sets the plot that the renderer is assigned to.