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

Packages that use PlotOrientation
org.jfree.chart: Core classes, including `JFreeChart` and `ChartPanel`.
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.category: Plug-in renderers for the `CategoryPlot` class.
org.jfree.chart.renderer.xy: Plug-in renderers for the `XYPlot` class.

Uses of PlotOrientation in org.jfree.chart

Methods in org.jfree.chart with parameters of type PlotOrientation
`static JFreeChart` `ChartFactory.createAreaChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates an area chart with default settings.
`static JFreeChart` `ChartFactory.createBarChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a bar chart.
`static JFreeChart` `ChartFactory.createBarChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a bar chart with a 3D effect.
`static JFreeChart` `ChartFactory.createBubbleChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, XYZDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a bubble chart with default settings.
`static JFreeChart` `ChartFactory.createHistogram(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, IntervalXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a histogram chart.
`static JFreeChart` `ChartFactory.createLineChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a line chart with default settings.
`static JFreeChart` `ChartFactory.createLineChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a line chart with default settings.
`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.createStackedAreaChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a stacked area chart with default settings.
`static JFreeChart` `ChartFactory.createStackedBarChart(java.lang.String title, java.lang.String domainAxisLabel, java.lang.String rangeAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a stacked bar chart with default settings.
`static JFreeChart` `ChartFactory.createStackedBarChart3D(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a stacked bar chart with a 3D effect and default settings.
`static JFreeChart` `ChartFactory.createStackedXYAreaChart(java.lang.String title, java.lang.String xAxisLabel, java.lang.String yAxisLabel, TableXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a stacked XY area plot.
`static JFreeChart` `ChartFactory.createWaferMapChart(java.lang.String title, WaferMapDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a wafer map chart.
`static JFreeChart` `ChartFactory.createWaterfallChart(java.lang.String title, java.lang.String categoryAxisLabel, java.lang.String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates a waterfall 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.createXYBarChart(java.lang.String title, java.lang.String xAxisLabel, boolean dateAxis, java.lang.String yAxisLabel, IntervalXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)` Creates and returns a default instance of an XY bar chart.
`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 PlotOrientation in org.jfree.chart.plot

Fields in org.jfree.chart.plot declared as PlotOrientation
`static PlotOrientation` `PlotOrientation.HORIZONTAL` For a plot where the range axis is horizontal.
`static PlotOrientation` `PlotOrientation.VERTICAL` For a plot where the range axis is vertical.

Methods in org.jfree.chart.plot that return PlotOrientation
`PlotOrientation` `Zoomable.getOrientation()` Returns the orientation of the plot.
`PlotOrientation` `XYPlot.getOrientation()` Returns the orientation of the plot.
`PlotOrientation` `ThermometerPlot.getOrientation()` Returns the orientation of the plot.
`PlotOrientation` `PolarPlot.getOrientation()` Returns the orientation of the plot.
`PlotOrientation` `Pannable.getOrientation()` Returns the orientation of the plot.
`PlotOrientation` `FastScatterPlot.getOrientation()` Returns the orientation of the plot.
`PlotOrientation` `CategoryPlot.getOrientation()` Returns the orientation of the plot.

Methods in org.jfree.chart.plot with parameters of type PlotOrientation
`protected void` `XYPlot.drawDomainCrosshair(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, java.awt.Stroke stroke, java.awt.Paint paint)` Draws a domain crosshair.
`protected void` `CategoryPlot.drawDomainCrosshair(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotOrientation orientation, int datasetIndex, java.lang.Comparable rowKey, java.lang.Comparable columnKey, java.awt.Stroke stroke, java.awt.Paint paint)` Draws a domain crosshair.
`protected void` `XYPlot.drawRangeCrosshair(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, java.awt.Stroke stroke, java.awt.Paint paint)` Draws a range crosshair.
`protected void` `CategoryPlot.drawRangeCrosshair(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, java.awt.Stroke stroke, java.awt.Paint paint)` Draws a range crosshair.
`protected void` `Plot.fillBackground(java.awt.Graphics2D g2, java.awt.geom.Rectangle2D area, PlotOrientation orientation)` Fills the specified area with the background paint.
`static org.jfree.ui.RectangleEdge` `Plot.resolveDomainAxisLocation(AxisLocation location, PlotOrientation orientation)` Resolves a domain axis location for a given plot orientation.
`static org.jfree.ui.RectangleEdge` `Plot.resolveRangeAxisLocation(AxisLocation location, PlotOrientation orientation)` Resolves a range axis location for a given plot orientation.
`void` `XYPlot.setOrientation(PlotOrientation orientation)` Sets the orientation for the plot and sends a `PlotChangeEvent` to all registered listeners.
`void` `CombinedRangeXYPlot.setOrientation(PlotOrientation orientation)` Sets the orientation for the plot (and all its subplots).
`void` `CombinedRangeCategoryPlot.setOrientation(PlotOrientation orientation)` Sets the orientation for the plot (and all the subplots).
`void` `CombinedDomainXYPlot.setOrientation(PlotOrientation orientation)` Sets the orientation for the plot (also changes the orientation for all the subplots to match).
`void` `CombinedDomainCategoryPlot.setOrientation(PlotOrientation orientation)` Sets the orientation of the plot (and all subplots).
`void` `CategoryPlot.setOrientation(PlotOrientation orientation)` Sets the orientation for the plot and sends a `PlotChangeEvent` to all registered listeners.
`void` `CategoryCrosshairState.updateCrosshairPoint(java.lang.Comparable rowKey, java.lang.Comparable columnKey, double value, int datasetIndex, double transX, double transY, PlotOrientation orientation)` Evaluates a data point from a `CategoryItemRenderer` and if it is the closest to the anchor point it becomes the new crosshair point.
`void` `CrosshairState.updateCrosshairPoint(double x, double y, double transX, double transY, PlotOrientation orientation)` Deprecated. Use `CrosshairState.updateCrosshairPoint(double, double, int, int, double, double, PlotOrientation)`. See bug report 1086307.
`void` `CrosshairState.updateCrosshairPoint(double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, PlotOrientation orientation)` Evaluates a data point and if it is the closest to the anchor point it becomes the new crosshair point.
`void` `CategoryCrosshairState.updateCrosshairX(java.lang.Comparable rowKey, java.lang.Comparable columnKey, int datasetIndex, double transX, PlotOrientation orientation)` Updates only the crosshair row and column keys (this is for the case where the range crosshair does NOT lock onto the nearest data value).

Uses of PlotOrientation in org.jfree.chart.renderer

Methods in org.jfree.chart.renderer with parameters of type PlotOrientation
`protected java.awt.geom.Point2D` `AbstractRenderer.calculateLabelAnchorPoint(ItemLabelAnchor anchor, double x, double y, PlotOrientation orientation)` Calculates the item label anchor point.

Uses of PlotOrientation in org.jfree.chart.renderer.category

Methods in org.jfree.chart.renderer.category with parameters of type PlotOrientation
`protected double` `LevelRenderer.calculateBarW0(CategoryPlot plot, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, CategoryAxis domainAxis, CategoryItemRendererState state, int row, int column)` Calculates the coordinate of the first "side" of a bar.
`protected double` `GroupedStackedBarRenderer.calculateBarW0(CategoryPlot plot, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, CategoryAxis domainAxis, CategoryItemRendererState state, int row, int column)` Calculates the coordinate of the first "side" of a bar.
`protected double` `BarRenderer.calculateBarW0(CategoryPlot plot, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, CategoryAxis domainAxis, CategoryItemRendererState state, int row, int column)` Calculates the coordinate of the first "side" of a bar.

`protected java.awt.geom.Point2D`

`AbstractCategoryItemRenderer.calculateDomainMarkerTextAnchorPoint(java.awt.Graphics2D g2, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, java.awt.geom.Rectangle2D markerArea, org.jfree.ui.RectangleInsets markerOffset, org.jfree.ui.LengthAdjustmentType labelOffsetType, org.jfree.ui.RectangleAnchor anchor)`
Calculates the (x, y) coordinates for drawing the label for a marker on the range axis.

`protected java.awt.geom.Point2D`

`AbstractCategoryItemRenderer.calculateRangeMarkerTextAnchorPoint(java.awt.Graphics2D g2, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, java.awt.geom.Rectangle2D markerArea, org.jfree.ui.RectangleInsets markerOffset, org.jfree.ui.LengthAdjustmentType labelOffsetType, org.jfree.ui.RectangleAnchor anchor)`
Calculates the (x, y) coordinates for drawing a marker label.

`protected void` `AbstractCategoryItemRenderer.drawItemLabel(java.awt.Graphics2D g2, PlotOrientation orientation, CategoryDataset dataset, int row, int column, double x, double y, boolean negative)` Draws an item label.
`protected void` `CategoryStepRenderer.drawLine(java.awt.Graphics2D g2, CategoryStepRenderer.State state, PlotOrientation orientation, double x0, double y0, double x1, double y1)` Draws a line taking into account the specified orientation.

`protected void`

`AbstractCategoryItemRenderer.updateCrosshairValues(CategoryCrosshairState crosshairState, java.lang.Comparable rowKey, java.lang.Comparable columnKey, double value, int datasetIndex, double transX, double transY, PlotOrientation orientation)`
Considers the current (x, y) coordinate and updates the crosshair point if it meets the criteria (usually means the (x, y) coordinate is the closest to the anchor point so far).

Uses of PlotOrientation in org.jfree.chart.renderer.xy

Methods in org.jfree.chart.renderer.xy with parameters of type PlotOrientation

`protected java.awt.geom.Point2D`

`AbstractXYItemRenderer.calculateDomainMarkerTextAnchorPoint(java.awt.Graphics2D g2, PlotOrientation orientation, java.awt.geom.Rectangle2D dataArea, java.awt.geom.Rectangle2D markerArea, org.jfree.ui.RectangleInsets markerOffset, org.jfree.ui.LengthAdjustmentType labelOffsetType, org.jfree.ui.RectangleAnchor anchor)`
Calculates the (x, y) coordinates for drawing a marker label.

`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` `AbstractXYItemRenderer.updateCrosshairValues(CrosshairState crosshairState, double x, double y, double transX, double transY, PlotOrientation orientation)` Deprecated. Use `AbstractXYItemRenderer.updateCrosshairValues(CrosshairState, double, double, int, int, double, double, PlotOrientation)` -- see bug report 1086307.
`protected void` `AbstractXYItemRenderer.updateCrosshairValues(CrosshairState crosshairState, double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, PlotOrientation orientation)` Considers the current (x, y) coordinate and updates the crosshair point if it meets the criteria (usually means the (x, y) coordinate is the closest to the anchor point so far).