Package | Description |
---|---|
org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel . |
org.jfree.chart.annotations |
A framework for adding annotations to charts.
|
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.renderer.category |
Plug-in renderers for the
CategoryPlot class. |
Modifier and Type | Method and Description |
---|---|
CategoryPlot |
JFreeChart.getCategoryPlot()
Returns the plot cast as a
CategoryPlot . |
Modifier and Type | Method and Description |
---|---|
protected void |
StandardChartTheme.applyToCategoryPlot(CategoryPlot plot)
Applies the attributes of this theme to a
CategoryPlot . |
Modifier and Type | Method and Description |
---|---|
void |
CategoryTextAnnotation.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 |
CategoryLineAnnotation.draw(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation.
|
void |
CategoryAnnotation.draw(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea,
CategoryAxis domainAxis,
ValueAxis rangeAxis)
Draws the annotation.
|
Modifier and Type | Class and Description |
---|---|
class |
CombinedDomainCategoryPlot
A combined category plot where the domain axis is shared.
|
class |
CombinedRangeCategoryPlot
A combined category plot where the range axis is shared.
|
Modifier and Type | Method and Description |
---|---|
CategoryPlot |
CombinedDomainCategoryPlot.findSubplot(PlotRenderingInfo info,
Point2D source)
Returns the subplot (if any) that contains the (x, y) point (specified
in Java2D space).
|
Modifier and Type | Method and Description |
---|---|
void |
CombinedRangeCategoryPlot.add(CategoryPlot subplot)
Adds a subplot (with a default 'weight' of 1) and sends a
PlotChangeEvent to all registered listeners. |
void |
CombinedDomainCategoryPlot.add(CategoryPlot subplot)
Adds a subplot to the combined chart and sends a
PlotChangeEvent
to all registered listeners. |
void |
CombinedRangeCategoryPlot.add(CategoryPlot subplot,
int weight)
Adds a subplot and sends a
PlotChangeEvent to all registered
listeners. |
void |
CombinedDomainCategoryPlot.add(CategoryPlot subplot,
int weight)
Adds a subplot to the combined chart and sends a
PlotChangeEvent
to all registered listeners. |
void |
CombinedRangeCategoryPlot.remove(CategoryPlot subplot)
Removes a subplot from the combined chart.
|
void |
CombinedDomainCategoryPlot.remove(CategoryPlot subplot)
Removes a subplot from the combined chart.
|
Modifier and Type | Method and Description |
---|---|
CategoryPlot |
CategoryItemRenderer.getPlot()
Returns the plot that the renderer has been assigned to (where
null indicates that the renderer is not currently assigned
to a plot). |
CategoryPlot |
AbstractCategoryItemRenderer.getPlot()
Returns the plot that the renderer has been assigned to (where
null indicates that the renderer is not currently assigned
to a plot). |
Modifier and Type | Method and Description |
---|---|
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 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 |
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 void |
StackedBarRenderer.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 |
GroupedStackedBarRenderer.calculateBarWidth(CategoryPlot plot,
Rectangle2D dataArea,
int rendererIndex,
CategoryItemRendererState state)
Calculates the bar width and stores it in the renderer state.
|
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 |
LevelRenderer.calculateItemWidth(CategoryPlot plot,
Rectangle2D dataArea,
int rendererIndex,
CategoryItemRendererState state)
Calculates the bar width and stores it in the renderer state.
|
void |
CategoryItemRenderer.drawBackground(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea)
Draws a background for the data area.
|
void |
AbstractCategoryItemRenderer.drawBackground(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea)
Draws a background for the data area.
|
void |
CategoryItemRenderer.drawDomainGridline(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea,
double value)
Draws a grid line against the domain axis.
|
void |
AbstractCategoryItemRenderer.drawDomainGridline(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea,
double value)
Draws a grid line against 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 |
AbstractCategoryItemRenderer.drawDomainMarker(Graphics2D g2,
CategoryPlot plot,
CategoryAxis axis,
CategoryMarker marker,
Rectangle2D dataArea)
Draws a marker for the domain axis.
|
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.
|
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 |
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 |
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.
|
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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 |
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.
|
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 |
CategoryItemRenderer.drawOutline(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea)
Draws an outline for the data area.
|
void |
AbstractCategoryItemRenderer.drawOutline(Graphics2D g2,
CategoryPlot plot,
Rectangle2D dataArea)
Draws an outline for the data area.
|
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.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.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.
|
void |
AbstractCategoryItemRenderer.drawRangeMarker(Graphics2D g2,
CategoryPlot plot,
ValueAxis axis,
Marker marker,
Rectangle2D dataArea)
Draws a marker for 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.
|
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.
|
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 |
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.
|
CategoryItemRendererState |
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.
|
CategoryItemRendererState |
CategoryItemRenderer.initialise(Graphics2D g2,
Rectangle2D dataArea,
CategoryPlot plot,
int rendererIndex,
PlotRenderingInfo info)
Initialises the renderer.
|
CategoryItemRendererState |
BoxAndWhiskerRenderer.initialise(Graphics2D g2,
Rectangle2D dataArea,
CategoryPlot plot,
int rendererIndex,
PlotRenderingInfo info)
Initialises the renderer.
|
CategoryItemRendererState |
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.
|
CategoryItemRendererState |
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.
|
void |
CategoryItemRenderer.setPlot(CategoryPlot plot)
Sets the plot that the renderer has been assigned to.
|
void |
AbstractCategoryItemRenderer.setPlot(CategoryPlot plot)
Sets the plot that the renderer has been assigned to.
|
Copyright © 2001–2017 JFree.org. All rights reserved.