Uses of Class
org.jfree.chart.plot.CategoryPlot
Packages that use CategoryPlot
Package
Description
Core classes, including
JFreeChart and
ChartPanel.A framework for adding annotations to charts.
Plot classes and related interfaces.
Plug-in renderers for the
CategoryPlot class.-
Uses of CategoryPlot in org.jfree.chart
Methods in org.jfree.chart that return CategoryPlotModifier and TypeMethodDescriptionJFreeChart.getCategoryPlot()Returns the plot cast as aCategoryPlot.Methods in org.jfree.chart with parameters of type CategoryPlotModifier and TypeMethodDescriptionprotected voidStandardChartTheme.applyToCategoryPlot(CategoryPlot plot) Applies the attributes of this theme to aCategoryPlot. -
Uses of CategoryPlot in org.jfree.chart.annotations
Methods in org.jfree.chart.annotations with parameters of type CategoryPlotModifier and TypeMethodDescriptionvoidCategoryAnnotation.draw(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis) Draws the annotation.voidCategoryLineAnnotation.draw(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis) Draws the annotation.voidCategoryPointerAnnotation.draw(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis) Draws the annotation.voidCategoryTextAnnotation.draw(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, CategoryAxis domainAxis, ValueAxis rangeAxis) Draws the annotation. -
Uses of CategoryPlot in org.jfree.chart.plot
Subclasses of CategoryPlot in org.jfree.chart.plotModifier and TypeClassDescriptionclassA combined category plot where the domain axis is shared.classA combined category plot where the range axis is shared.Methods in org.jfree.chart.plot that return CategoryPlotModifier and TypeMethodDescriptionCombinedDomainCategoryPlot.findSubplot(PlotRenderingInfo info, 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 CategoryPlotModifier and TypeMethodDescriptionvoidCombinedDomainCategoryPlot.add(CategoryPlot subplot) Adds a subplot to the combined chart and sends aPlotChangeEventto all registered listeners.voidCombinedDomainCategoryPlot.add(CategoryPlot subplot, int weight) Adds a subplot to the combined chart and sends aPlotChangeEventto all registered listeners.voidCombinedRangeCategoryPlot.add(CategoryPlot subplot) Adds a subplot (with a default 'weight' of 1) and sends aPlotChangeEventto all registered listeners.voidCombinedRangeCategoryPlot.add(CategoryPlot subplot, int weight) Adds a subplot and sends aPlotChangeEventto all registered listeners.voidCombinedDomainCategoryPlot.remove(CategoryPlot subplot) Removes a subplot from the combined chart.voidCombinedRangeCategoryPlot.remove(CategoryPlot subplot) Removes a subplot from the combined chart. -
Uses of CategoryPlot in org.jfree.chart.renderer.category
Methods in org.jfree.chart.renderer.category that return CategoryPlotModifier and TypeMethodDescriptionAbstractCategoryItemRenderer.getPlot()Returns the plot that the renderer has been assigned to (wherenullindicates that the renderer is not currently assigned to a plot).CategoryItemRenderer.getPlot()Returns the plot that the renderer has been assigned to (wherenullindicates that the renderer is not currently assigned to a plot).Methods in org.jfree.chart.renderer.category with parameters of type CategoryPlotModifier 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 voidBarRenderer.calculateBarWidth(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.protected voidGroupedStackedBarRenderer.calculateBarWidth(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.protected voidLayeredBarRenderer.calculateBarWidth(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.protected voidStackedBarRenderer.calculateBarWidth(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.protected voidLevelRenderer.calculateItemWidth(CategoryPlot plot, Rectangle2D dataArea, int rendererIndex, CategoryItemRendererState state) Calculates the bar width and stores it in the renderer state.voidAbstractCategoryItemRenderer.drawBackground(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea) Draws a background for the data area.voidCategoryItemRenderer.drawBackground(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea) Draws a background for the data area.voidAbstractCategoryItemRenderer.drawDomainGridline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value) Draws a grid line against the domain axis.voidCategoryItemRenderer.drawDomainGridline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea, double value) Draws a grid line against the domain axis.voidAbstractCategoryItemRenderer.drawDomainMarker(Graphics2D g2, CategoryPlot plot, CategoryAxis axis, CategoryMarker marker, Rectangle2D dataArea) Draws a marker for the domain axis.voidCategoryItemRenderer.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.voidBoxAndWhiskerRenderer.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 voidLayeredBarRenderer.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 voidStatisticalBarRenderer.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 voidIntervalBarRenderer.drawInterval(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, IntervalCategoryDataset dataset, int row, int column) Draws a single interval.voidAreaRenderer.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.voidBarRenderer.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.voidBoxAndWhiskerRenderer.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.voidCategoryItemRenderer.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.voidCategoryStepRenderer.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.voidGanttRenderer.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.voidGroupedStackedBarRenderer.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.voidIntervalBarRenderer.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.voidLayeredBarRenderer.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.voidLevelRenderer.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.voidLineAndShapeRenderer.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.voidMinMaxCategoryRenderer.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.voidScatterRenderer.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.voidStackedAreaRenderer.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.voidStackedBarRenderer.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.voidStatisticalBarRenderer.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.voidStatisticalLineAndShapeRenderer.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.voidWaterfallBarRenderer.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 voidBarRenderer.drawItemLabel(Graphics2D g2, CategoryDataset data, int row, int column, CategoryPlot plot, CategoryItemLabelGenerator generator, Rectangle2D bar, boolean negative) Draws an item label.voidAbstractCategoryItemRenderer.drawOutline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea) Draws an outline for the data area.voidCategoryItemRenderer.drawOutline(Graphics2D g2, CategoryPlot plot, Rectangle2D dataArea) Draws an outline for the data area.voidAbstractCategoryItemRenderer.drawRangeLine(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke) Draws a line perpendicular to the range axis.voidCategoryItemRenderer.drawRangeLine(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke) Draws a grid line against the range axis.voidAbstractCategoryItemRenderer.drawRangeMarker(Graphics2D g2, CategoryPlot plot, ValueAxis axis, Marker marker, Rectangle2D dataArea) Draws a marker for the range axis.voidCategoryItemRenderer.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 voidGanttRenderer.drawTask(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, GanttCategoryDataset dataset, int row, int column) Draws a single task.protected voidGanttRenderer.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.voidBoxAndWhiskerRenderer.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 voidLayeredBarRenderer.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 voidStatisticalBarRenderer.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 CategoryAxisAbstractCategoryItemRenderer.getDomainAxis(CategoryPlot plot, int index) Returns a domain axis for a plot.protected ValueAxisAbstractCategoryItemRenderer.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.voidAbstractCategoryItemRenderer.setPlot(CategoryPlot plot) Sets the plot that the renderer has been assigned to.voidCategoryItemRenderer.setPlot(CategoryPlot plot) Sets the plot that the renderer has been assigned to.