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.axis |
Axis classes and interfaces.
|
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 |
---|---|
protected void |
StandardChartTheme.applyToCategoryAxis(CategoryAxis axis)
Applies the attributes for this theme to a
CategoryAxis . |
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 |
ExtendedCategoryAxis
An extended version of the
CategoryAxis class that supports
sublabels on the axis. |
class |
SubCategoryAxis
A specialised category axis that can display sub-categories.
|
Modifier and Type | Method and Description |
---|---|
CategoryAxis |
CategoryPlot.getDomainAxis()
Returns the domain axis for the plot.
|
CategoryAxis |
CategoryPlot.getDomainAxis(int index)
Returns a domain axis.
|
CategoryAxis |
CategoryPlot.getDomainAxisForDataset(int index)
Returns the domain axis for a dataset.
|
Modifier and Type | Method and Description |
---|---|
List |
CombinedDomainCategoryPlot.getCategoriesForAxis(CategoryAxis axis)
Overridden to return the categories in the subplots.
|
List |
CategoryPlot.getCategoriesForAxis(CategoryAxis axis)
Returns a list of the categories that should be displayed for the
specified axis.
|
int |
CategoryPlot.getDomainAxisIndex(CategoryAxis axis)
Returns the index of the specified axis, or
-1 if the axis
is not assigned to the plot. |
void |
CategoryPlot.setDomainAxes(CategoryAxis[] axes)
Sets the domain axes for this plot and sends a
PlotChangeEvent
to all registered listeners. |
void |
CategoryPlot.setDomainAxis(CategoryAxis axis)
Sets the domain axis for the plot and sends a
PlotChangeEvent to
all registered listeners. |
void |
CategoryPlot.setDomainAxis(int index,
CategoryAxis axis)
Sets a domain axis and sends a
PlotChangeEvent to all
registered listeners. |
void |
CategoryPlot.setDomainAxis(int index,
CategoryAxis axis,
boolean notify)
Sets a domain axis and, if requested, sends a
PlotChangeEvent to
all registered listeners. |
Constructor and Description |
---|
CategoryPlot(CategoryDataset dataset,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryItemRenderer renderer)
Creates a new plot.
|
CombinedDomainCategoryPlot(CategoryAxis domainAxis)
Creates a new plot.
|
Modifier and Type | Method and Description |
---|---|
protected CategoryAxis |
AbstractCategoryItemRenderer.getDomainAxis(CategoryPlot plot,
int index)
Returns a domain axis for 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 double |
LevelRenderer.calculateSeriesWidth(double space,
CategoryAxis axis,
int categories,
int series)
Calculates the available space for each series.
|
protected double |
BarRenderer.calculateSeriesWidth(double space,
CategoryAxis axis,
int categories,
int series)
Calculates the available space for each series.
|
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 |
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.
|
double |
LevelRenderer.getItemMiddle(Comparable rowKey,
Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
Rectangle2D area,
RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
GanttRenderer.getItemMiddle(Comparable rowKey,
Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
Rectangle2D area,
RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
CategoryItemRenderer.getItemMiddle(Comparable rowKey,
Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
Rectangle2D area,
RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
AbstractCategoryItemRenderer.getItemMiddle(Comparable rowKey,
Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
Rectangle2D area,
RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
Copyright © 2001–2017 JFree.org. All rights reserved.