Uses of Class
org.jfree.chart.plot.CategoryPlot
Package
Description
-
Uses of CategoryPlot in org.jfree.chart
Modifier and TypeMethodDescriptionJFreeChart.getCategoryPlot()
Returns the plot cast as aCategoryPlot
.Modifier and TypeMethodDescriptionprotected void
StandardChartTheme.applyToCategoryPlot
(CategoryPlot plot) Applies the attributes of this theme to aCategoryPlot
. -
Uses of CategoryPlot in org.jfree.chart.annotations
Modifier and TypeMethodDescriptionvoid
CategoryAnnotation.draw
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis) Draws the annotation.void
CategoryLineAnnotation.draw
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis) Draws the annotation.void
CategoryPointerAnnotation.draw
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis) Draws the annotation.void
CategoryTextAnnotation.draw
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis) Draws the annotation. -
Uses of CategoryPlot in org.jfree.chart.plot
Modifier and TypeClassDescriptionclass
A combined category plot where the domain axis is shared.class
A combined category plot where the range axis is shared.Modifier and TypeMethodDescriptionCombinedDomainCategoryPlot.findSubplot
(PlotRenderingInfo info, Point2D source) Returns the subplot (if any) that contains the (x, y) point (specified in Java2D space).Modifier and TypeMethodDescriptionvoid
CombinedDomainCategoryPlot.add
(CategoryPlot subplot) Adds a subplot to the combined chart and sends aPlotChangeEvent
to all registered listeners.void
CombinedDomainCategoryPlot.add
(CategoryPlot subplot, int weight) Adds a subplot to the combined chart and sends aPlotChangeEvent
to all registered listeners.void
CombinedRangeCategoryPlot.add
(CategoryPlot subplot) Adds a subplot (with a default 'weight' of 1) and sends aPlotChangeEvent
to all registered listeners.void
CombinedRangeCategoryPlot.add
(CategoryPlot subplot, int weight) Adds a subplot and sends aPlotChangeEvent
to all registered listeners.void
CombinedDomainCategoryPlot.remove
(CategoryPlot subplot) Removes a subplot from the combined chart.void
CombinedRangeCategoryPlot.remove
(CategoryPlot subplot) Removes a subplot from the combined chart. -
Uses of CategoryPlot in org.jfree.chart.renderer.category
Modifier and TypeMethodDescriptionAbstractCategoryItemRenderer.getPlot()
Returns the plot that the renderer has been assigned to (wherenull
indicates that the renderer is not currently assigned to a plot).CategoryItemRenderer.getPlot()
Returns the plot that the renderer has been assigned to (wherenull
indicates that the renderer is not currently assigned to a plot).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 void
BarRenderer.calculateBarWidth
(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.protected void
GroupedStackedBarRenderer.calculateBarWidth
(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.protected void
LayeredBarRenderer.calculateBarWidth
(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.protected void
StackedBarRenderer.calculateBarWidth
(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.protected void
LevelRenderer.calculateItemWidth
(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.void
AbstractCategoryItemRenderer.drawBackground
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea) Draws a background for the data area.void
CategoryItemRenderer.drawBackground
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea) Draws a background for the data area.void
AbstractCategoryItemRenderer.drawDomainGridline
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value) Draws a grid line against the domain axis.void
CategoryItemRenderer.drawDomainGridline
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value) Draws a grid line against the domain axis.void
AbstractCategoryItemRenderer.drawDomainMarker
(Graphics2D g2, CategoryPlot plot, CategoryAxis axis, CategoryMarker marker, Rectangle2D dataArea) Draws a marker for the domain axis.void
CategoryItemRenderer.drawDomainMarker
(Graphics2D g2, CategoryPlot plot, CategoryAxis axis, CategoryMarker marker, Rectangle2D dataArea) Draws a line (or some other marker) to indicate a particular category on the domain axis.void
BoxAndWhiskerRenderer.drawHorizontalItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column) Draws the visual representation of a single data item when the plot has a horizontal orientation.protected void
LayeredBarRenderer.drawHorizontalItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column) Draws the bar for a single (series, category) data item.protected void
StatisticalBarRenderer.drawHorizontalItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, StatisticalCategoryDataset dataset, int visibleRow, int row, int column) Draws an item for a plot with a horizontal orientation.protected void
IntervalBarRenderer.drawInterval
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, IntervalCategoryDataset dataset, int row, int column) Draws a single interval.void
AreaRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item.void
BarRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draws the bar for a single (series, category) data item.void
BoxAndWhiskerRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item.void
CategoryItemRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draws a single data item.void
CategoryStepRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item.void
GanttRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draws the bar for a single (series, category) data item.void
GroupedStackedBarRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draws a stacked bar for a specific item.void
IntervalBarRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draws the bar for a single (series, category) data item.void
LayeredBarRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset data, int row, int column, int pass) Draws the bar for one item in the dataset.void
LevelRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draws the bar for a single (series, category) data item.void
LineAndShapeRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item.void
MinMaxCategoryRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item.void
ScatterRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item.void
StackedAreaRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item.void
StackedBarRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draws a stacked bar for a specific item.void
StatisticalBarRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset data, int row, int column, int pass) Draws the bar with its standard deviation line range for a single (series, category) data item.void
StatisticalLineAndShapeRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draw a single data item.void
WaterfallBarRenderer.drawItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column, int pass) Draws the bar for a single (series, category) data item.protected void
BarRenderer.drawItemLabel
(Graphics2D g2, CategoryDataset data, int row, int column, CategoryPlot plot, CategoryItemLabelGenerator generator, Rectangle2D bar, boolean negative) Draws an item label.void
AbstractCategoryItemRenderer.drawOutline
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea) Draws an outline for the data area.void
CategoryItemRenderer.drawOutline
(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea) Draws an outline for the data area.void
AbstractCategoryItemRenderer.drawRangeLine
(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke) Draws a line perpendicular to the range axis.void
CategoryItemRenderer.drawRangeLine
(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke) Draws a grid line against the range axis.void
AbstractCategoryItemRenderer.drawRangeMarker
(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea) Draws a marker for the range axis.void
CategoryItemRenderer.drawRangeMarker
(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea) Draws a line (or some other marker) to indicate a particular value on the range axis.protected void
GanttRenderer.drawTask
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, GanttCategoryDataset dataset, int row, int column) Draws a single task.protected void
GanttRenderer.drawTasks
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, GanttCategoryDataset dataset, int row, int column) Draws the tasks/subtasks for one item.void
BoxAndWhiskerRenderer.drawVerticalItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column) Draws the visual representation of a single data item when the plot has a vertical orientation.protected void
LayeredBarRenderer.drawVerticalItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset, int row, int column) Draws the bar for a single (series, category) data item.protected void
StatisticalBarRenderer.drawVerticalItem
(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, StatisticalCategoryDataset dataset, int visibleRow, int row, int column) Draws an item for a plot with a vertical orientation.protected CategoryAxis
AbstractCategoryItemRenderer.getDomainAxis
(CategoryPlot plot, int index) Returns a domain axis for a plot.protected ValueAxis
AbstractCategoryItemRenderer.getRangeAxis
(CategoryPlot plot, int index) Returns a range axis for a plot.AbstractCategoryItemRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info) Initialises the renderer and returns a state object that will be used for the remainder of the drawing process for a single chart.BarRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info) Initialises the renderer and returns a state object that will be passed to subsequent calls to the drawItem method.BoxAndWhiskerRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info) Initialises the renderer.CategoryItemRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info) Initialises the renderer.LevelRenderer.initialise
(Graphics2D g2, Rectangle2D dataArea, CategoryPlot plot, int rendererIndex, PlotRenderingInfo info) Initialises the renderer and returns a state object that will be passed to subsequent calls to the drawItem method.void
AbstractCategoryItemRenderer.setPlot
(CategoryPlot plot) Sets the plot that the renderer has been assigned to.void
CategoryItemRenderer.setPlot
(CategoryPlot plot) Sets the plot that the renderer has been assigned to.