Uses of Class
org.jfree.chart.plot.PlotOrientation
Package
Description
-
Uses of PlotOrientation in org.jfree.chart
Modifier and TypeMethodDescriptionstatic JFreeChart
ChartFactory.createAreaChart
(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates an area chart with default settings.static JFreeChart
ChartFactory.createBarChart
(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a bar chart.static JFreeChart
ChartFactory.createBubbleChart
(String title, String xAxisLabel, String yAxisLabel, XYZDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a bubble chart with default settings.static JFreeChart
ChartFactory.createHistogram
(String title, String xAxisLabel, String yAxisLabel, IntervalXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a histogram chart.static JFreeChart
ChartFactory.createLineChart
(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a line chart with default settings.static JFreeChart
ChartFactory.createScatterPlot
(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a scatter plot with default settings.static JFreeChart
ChartFactory.createStackedAreaChart
(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a stacked area chart with default settings.static JFreeChart
ChartFactory.createStackedBarChart
(String title, String domainAxisLabel, String rangeAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a stacked bar chart with default settings.static JFreeChart
ChartFactory.createStackedXYAreaChart
(String title, String xAxisLabel, String yAxisLabel, TableXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a stacked XY area plot.static JFreeChart
ChartFactory.createWaferMapChart
(String title, WaferMapDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a wafer map chart.static JFreeChart
ChartFactory.createWaterfallChart
(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a waterfall chart.static JFreeChart
ChartFactory.createXYAreaChart
(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates an area chart using anXYDataset
.static JFreeChart
ChartFactory.createXYBarChart
(String title, String xAxisLabel, boolean dateAxis, 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
(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a line chart (based on anXYDataset
) with default settings.static JFreeChart
ChartFactory.createXYStepAreaChart
(String title, String xAxisLabel, 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
(String title, String xAxisLabel, 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
Modifier and TypeFieldDescriptionstatic final PlotOrientation
PlotOrientation.HORIZONTAL
For a plot where the range axis is horizontal.static final PlotOrientation
PlotOrientation.VERTICAL
For a plot where the range axis is vertical.Modifier and TypeMethodDescriptionCategoryPlot.getOrientation()
Returns the orientation of the plot.FastScatterPlot.getOrientation()
Returns the orientation of the plot.Pannable.getOrientation()
Returns the orientation of the plot.PolarPlot.getOrientation()
Returns the orientation of the plot.ThermometerPlot.getOrientation()
Returns the orientation of the plot.XYPlot.getOrientation()
Returns the orientation of the plot.Zoomable.getOrientation()
Returns the orientation of the plot.Modifier and TypeMethodDescriptionprotected void
CategoryPlot.drawDomainCrosshair
(Graphics2D g2, Rectangle2D dataArea, PlotOrientation orientation, int datasetIndex, Comparable rowKey, Comparable columnKey, Stroke stroke, Paint paint) Draws a domain crosshair.protected void
XYPlot.drawDomainCrosshair
(Graphics2D g2, Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, Stroke stroke, Paint paint) Draws a domain crosshair.protected void
CategoryPlot.drawRangeCrosshair
(Graphics2D g2, Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, Stroke stroke, Paint paint) Draws a range crosshair.protected void
XYPlot.drawRangeCrosshair
(Graphics2D g2, Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, Stroke stroke, Paint paint) Draws a range crosshair.protected void
Plot.fillBackground
(Graphics2D g2, Rectangle2D area, PlotOrientation orientation) Fills the specified area with the background paint.static RectangleEdge
Plot.resolveDomainAxisLocation
(AxisLocation location, PlotOrientation orientation) Resolves a domain axis location for a given plot orientation.static RectangleEdge
Plot.resolveRangeAxisLocation
(AxisLocation location, PlotOrientation orientation) Resolves a range axis location for a given plot orientation.void
CategoryPlot.setOrientation
(PlotOrientation orientation) Sets the orientation for the plot and sends aPlotChangeEvent
to all registered listeners.void
CombinedDomainCategoryPlot.setOrientation
(PlotOrientation orientation) Sets the orientation of the plot (and all subplots).void
CombinedDomainXYPlot.setOrientation
(PlotOrientation orientation) Sets the orientation for the plot (also changes the orientation for all the subplots to match).void
CombinedRangeCategoryPlot.setOrientation
(PlotOrientation orientation) Sets the orientation for the plot (and all the subplots).void
CombinedRangeXYPlot.setOrientation
(PlotOrientation orientation) Sets the orientation for the plot (and all its subplots).void
XYPlot.setOrientation
(PlotOrientation orientation) Sets the orientation for the plot and sends aPlotChangeEvent
to all registered listeners.void
CategoryCrosshairState.updateCrosshairPoint
(Comparable rowKey, Comparable columnKey, double value, int datasetIndex, double transX, double transY, PlotOrientation orientation) Evaluates a data point from aCategoryItemRenderer
and if it is the closest to the anchor point it becomes the new crosshair point.void
CrosshairState.updateCrosshairPoint
(double x, double y, int datasetIndex, double transX, double transY, PlotOrientation orientation) Updates the crosshair point.void
CategoryCrosshairState.updateCrosshairX
(Comparable rowKey, 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
Modifier and TypeMethodDescriptionprotected 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
Modifier and TypeMethodDescriptionprotected double
BarRenderer.calculateBarW0
(CategoryPlot plot, PlotOrientation orientation, 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, Rectangle2D dataArea, CategoryAxis domainAxis, CategoryItemRendererState state, int row, int column) Calculates the coordinate of the first "side" of a bar.protected double
LevelRenderer.calculateBarW0
(CategoryPlot plot, PlotOrientation orientation, Rectangle2D dataArea, CategoryAxis domainAxis, CategoryItemRendererState state, int row, int column) Calculates the coordinate of the first "side" of a bar.protected Point2D
AbstractCategoryItemRenderer.calculateDomainMarkerTextAnchorPoint
(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor) Calculates the(x, y)
coordinates for drawing the label for a marker on the range axis.protected Point2D
AbstractCategoryItemRenderer.calculateRangeMarkerTextAnchorPoint
(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor) Calculates the (x, y) coordinates for drawing a marker label.protected void
AbstractCategoryItemRenderer.drawItemLabel
(Graphics2D g2, PlotOrientation orientation, CategoryDataset dataset, int row, int column, double x, double y, boolean negative) Draws an item label.protected void
CategoryStepRenderer.drawLine
(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, Comparable rowKey, 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
Modifier and TypeMethodDescriptionprotected Point2D
AbstractXYItemRenderer.calculateDomainMarkerTextAnchorPoint
(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor) Calculates the(x, y)
coordinates for drawing a marker label.protected void
AbstractXYItemRenderer.drawItemLabel
(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, 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).