Uses of Class
org.jfree.chart.plot.PlotOrientation
Packages that use PlotOrientation
Package
Description
Core classes, including
JFreeChart and
ChartPanel.Plot classes and related interfaces.
Core support for the plug-in renderers used by the
CategoryPlot and XYPlot classes.Plug-in renderers for the
CategoryPlot class.Plug-in renderers for the
XYPlot class.-
Uses of PlotOrientation in org.jfree.chart
Methods in org.jfree.chart with parameters of type PlotOrientationModifier and TypeMethodDescriptionstatic JFreeChartChartFactory.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 JFreeChartChartFactory.createBarChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a bar chart.static JFreeChartChartFactory.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 JFreeChartChartFactory.createHistogram(String title, String xAxisLabel, String yAxisLabel, IntervalXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a histogram chart.static JFreeChartChartFactory.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 JFreeChartChartFactory.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 JFreeChartChartFactory.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 JFreeChartChartFactory.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 JFreeChartChartFactory.createStackedXYAreaChart(String title, String xAxisLabel, String yAxisLabel, TableXYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a stacked XY area plot.static JFreeChartChartFactory.createWaferMapChart(String title, WaferMapDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a wafer map chart.static JFreeChartChartFactory.createWaterfallChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates a waterfall chart.static JFreeChartChartFactory.createXYAreaChart(String title, String xAxisLabel, String yAxisLabel, XYDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls) Creates an area chart using anXYDataset.static JFreeChartChartFactory.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 JFreeChartChartFactory.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 JFreeChartChartFactory.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 JFreeChartChartFactory.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
Fields in org.jfree.chart.plot declared as PlotOrientationModifier and TypeFieldDescriptionstatic final PlotOrientationPlotOrientation.HORIZONTALFor a plot where the range axis is horizontal.static final PlotOrientationPlotOrientation.VERTICALFor a plot where the range axis is vertical.Methods in org.jfree.chart.plot that return PlotOrientationModifier 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.Methods in org.jfree.chart.plot with parameters of type PlotOrientationModifier and TypeMethodDescriptionprotected voidCategoryPlot.drawDomainCrosshair(Graphics2D g2, Rectangle2D dataArea, PlotOrientation orientation, int datasetIndex, Comparable rowKey, Comparable columnKey, Stroke stroke, Paint paint) Draws a domain crosshair.protected voidXYPlot.drawDomainCrosshair(Graphics2D g2, Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, Stroke stroke, Paint paint) Draws a domain crosshair.protected voidCategoryPlot.drawRangeCrosshair(Graphics2D g2, Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, Stroke stroke, Paint paint) Draws a range crosshair.protected voidXYPlot.drawRangeCrosshair(Graphics2D g2, Rectangle2D dataArea, PlotOrientation orientation, double value, ValueAxis axis, Stroke stroke, Paint paint) Draws a range crosshair.protected voidPlot.fillBackground(Graphics2D g2, Rectangle2D area, PlotOrientation orientation) Fills the specified area with the background paint.static RectangleEdgePlot.resolveDomainAxisLocation(AxisLocation location, PlotOrientation orientation) Resolves a domain axis location for a given plot orientation.static RectangleEdgePlot.resolveRangeAxisLocation(AxisLocation location, PlotOrientation orientation) Resolves a range axis location for a given plot orientation.voidCategoryPlot.setOrientation(PlotOrientation orientation) Sets the orientation for the plot and sends aPlotChangeEventto all registered listeners.voidCombinedDomainCategoryPlot.setOrientation(PlotOrientation orientation) Sets the orientation of the plot (and all subplots).voidCombinedDomainXYPlot.setOrientation(PlotOrientation orientation) Sets the orientation for the plot (also changes the orientation for all the subplots to match).voidCombinedRangeCategoryPlot.setOrientation(PlotOrientation orientation) Sets the orientation for the plot (and all the subplots).voidCombinedRangeXYPlot.setOrientation(PlotOrientation orientation) Sets the orientation for the plot (and all its subplots).voidXYPlot.setOrientation(PlotOrientation orientation) Sets the orientation for the plot and sends aPlotChangeEventto all registered listeners.voidCategoryCrosshairState.updateCrosshairPoint(Comparable rowKey, Comparable columnKey, double value, int datasetIndex, double transX, double transY, PlotOrientation orientation) Evaluates a data point from aCategoryItemRendererand if it is the closest to the anchor point it becomes the new crosshair point.voidCrosshairState.updateCrosshairPoint(double x, double y, int datasetIndex, double transX, double transY, PlotOrientation orientation) Updates the crosshair point.voidCategoryCrosshairState.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
Methods in org.jfree.chart.renderer with parameters of type PlotOrientationModifier and TypeMethodDescriptionprotected Point2DAbstractRenderer.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 PlotOrientationModifier and TypeMethodDescriptionprotected doubleBarRenderer.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 doubleGroupedStackedBarRenderer.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 doubleLevelRenderer.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 Point2DAbstractCategoryItemRenderer.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 Point2DAbstractCategoryItemRenderer.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 voidAbstractCategoryItemRenderer.drawItemLabel(Graphics2D g2, PlotOrientation orientation, CategoryDataset dataset, int row, int column, double x, double y, boolean negative) Draws an item label.protected voidCategoryStepRenderer.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 voidAbstractCategoryItemRenderer.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
Methods in org.jfree.chart.renderer.xy with parameters of type PlotOrientationModifier and TypeMethodDescriptionprotected Point2DAbstractXYItemRenderer.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 voidAbstractXYItemRenderer.drawItemLabel(Graphics2D g2, PlotOrientation orientation, XYDataset dataset, int series, int item, double x, double y, boolean negative) Draws an item label.protected voidAbstractXYItemRenderer.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).