Package | Description |
---|---|
org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel . |
org.jfree.chart.axis |
Axis classes and interfaces.
|
org.jfree.chart.entity |
Classes representing components of (or entities in) a chart.
|
org.jfree.chart.labels |
Generators and other classes used for the display of item labels and tooltips.
|
org.jfree.chart.plot |
Plot classes and related interfaces.
|
org.jfree.chart.renderer.category |
Plug-in renderers for the
CategoryPlot class. |
org.jfree.chart.urls |
Classes for adding URLS to charts for HTML image map generation.
|
org.jfree.data.category |
A package containing the
CategoryDataset interface and related classes. |
org.jfree.data.gantt |
Data interfaces and classes for Gantt charts.
|
org.jfree.data.general |
Data interfaces and classes.
|
org.jfree.data.io |
Miscellaneous support for input/output of data.
|
org.jfree.data.jdbc |
Dataset classes that fetch data from a database via JDBC.
|
org.jfree.data.statistics |
Classes for representing statistical data.
|
org.jfree.data.xml |
Support for reading datasets from XML files.
|
Modifier and Type | Method and Description |
---|---|
static JFreeChart |
ChartFactory.createAreaChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates an area chart with default settings.
|
static JFreeChart |
ChartFactory.createAreaChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates an area chart with default settings.
|
static JFreeChart |
ChartFactory.createBarChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a bar chart with a vertical orientation.
|
static JFreeChart |
ChartFactory.createBarChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a bar chart.
|
static JFreeChart |
ChartFactory.createBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a bar chart with a 3D effect.
|
static JFreeChart |
ChartFactory.createBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a bar chart with a 3D effect.
|
static JFreeChart |
ChartFactory.createLineChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createLineChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createLineChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createLineChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createMultiplePieChart(java.lang.String title,
CategoryDataset dataset,
org.jfree.util.TableOrder order,
boolean legend,
boolean tooltips,
boolean urls)
Creates a chart that displays multiple pie plots.
|
static JFreeChart |
ChartFactory.createMultiplePieChart3D(java.lang.String title,
CategoryDataset dataset,
org.jfree.util.TableOrder order,
boolean legend,
boolean tooltips,
boolean urls)
Creates a chart that displays multiple pie plots.
|
static JFreeChart |
ChartFactory.createStackedAreaChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a stacked area chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedAreaChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked area chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart(java.lang.String title,
java.lang.String domainAxisLabel,
java.lang.String rangeAxisLabel,
CategoryDataset dataset)
Creates a stacked bar chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart(java.lang.String title,
java.lang.String domainAxisLabel,
java.lang.String rangeAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked bar chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset)
Creates a stacked bar chart with a 3D effect and default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart3D(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked bar chart with a 3D effect and default settings.
|
static JFreeChart |
ChartFactory.createWaterfallChart(java.lang.String title,
java.lang.String categoryAxisLabel,
java.lang.String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a waterfall chart.
|
Modifier and Type | Method and Description |
---|---|
double |
CategoryAxis.getCategorySeriesMiddle(java.lang.Comparable category,
java.lang.Comparable seriesKey,
CategoryDataset dataset,
double itemMargin,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the middle coordinate (in Java2D space) for a series within a
category.
|
Modifier and Type | Method and Description |
---|---|
CategoryDataset |
CategoryItemEntity.getDataset()
Returns the dataset this entity refers to.
|
Modifier and Type | Method and Description |
---|---|
void |
CategoryItemEntity.setDataset(CategoryDataset dataset)
Sets the dataset this entity refers to.
|
Constructor and Description |
---|
CategoryItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText,
CategoryDataset dataset,
java.lang.Comparable rowKey,
java.lang.Comparable columnKey)
Creates a new entity instance for an item in the specified dataset.
|
CategoryItemEntity(java.awt.Shape area,
java.lang.String toolTipText,
java.lang.String urlText,
CategoryDataset dataset,
int series,
java.lang.Object category,
int categoryIndex)
Deprecated.
|
Modifier and Type | Method and Description |
---|---|
protected java.lang.Object[] |
StandardCategorySeriesLabelGenerator.createItemArray(CategoryDataset dataset,
int series)
Creates the array of items that can be passed to the
MessageFormat class for creating labels. |
protected java.lang.Object[] |
IntervalCategoryToolTipGenerator.createItemArray(CategoryDataset dataset,
int row,
int column)
Creates the array of items that can be passed to the
MessageFormat class for creating labels. |
protected java.lang.Object[] |
IntervalCategoryItemLabelGenerator.createItemArray(CategoryDataset dataset,
int row,
int column)
Creates the array of items that can be passed to the
MessageFormat class for creating labels. |
protected java.lang.Object[] |
BoxAndWhiskerToolTipGenerator.createItemArray(CategoryDataset dataset,
int series,
int item)
Creates the array of items that can be passed to the
MessageFormat class for creating labels. |
protected java.lang.Object[] |
AbstractCategoryItemLabelGenerator.createItemArray(CategoryDataset dataset,
int row,
int column)
Creates the array of items that can be passed to the
MessageFormat class for creating labels. |
java.lang.String |
CategoryItemLabelGenerator.generateColumnLabel(CategoryDataset dataset,
int column)
Generates a label for the specified row.
|
java.lang.String |
AbstractCategoryItemLabelGenerator.generateColumnLabel(CategoryDataset dataset,
int column)
Generates a label for the specified row.
|
java.lang.String |
StandardCategorySeriesLabelGenerator.generateLabel(CategoryDataset dataset,
int series)
Generates a label for the specified series.
|
java.lang.String |
CategorySeriesLabelGenerator.generateLabel(CategoryDataset dataset,
int series)
Generates a label for the specified series.
|
java.lang.String |
StandardCategoryItemLabelGenerator.generateLabel(CategoryDataset dataset,
int row,
int column)
Generates the label for an item in a dataset.
|
java.lang.String |
CategoryItemLabelGenerator.generateLabel(CategoryDataset dataset,
int row,
int column)
Generates a label for the specified item.
|
protected java.lang.String |
AbstractCategoryItemLabelGenerator.generateLabelString(CategoryDataset dataset,
int row,
int column)
Generates a for the specified item.
|
java.lang.String |
CategoryItemLabelGenerator.generateRowLabel(CategoryDataset dataset,
int row)
Generates a label for the specified row.
|
java.lang.String |
AbstractCategoryItemLabelGenerator.generateRowLabel(CategoryDataset dataset,
int row)
Generates a label for the specified row.
|
java.lang.String |
StandardCategoryToolTipGenerator.generateToolTip(CategoryDataset dataset,
int row,
int column)
Generates the tool tip text for an item in a dataset.
|
java.lang.String |
CategoryToolTipGenerator.generateToolTip(CategoryDataset dataset,
int row,
int column)
Generates the tool tip text for an item in a dataset.
|
Modifier and Type | Method and Description |
---|---|
CategoryDataset |
SpiderWebPlot.getDataset()
Returns the dataset.
|
CategoryDataset |
MultiplePiePlot.getDataset()
Returns the dataset used by the plot.
|
CategoryDataset |
CategoryPlot.getDataset()
Returns the primary dataset for the plot.
|
CategoryDataset |
CategoryPlot.getDataset(int index)
Returns the dataset with the given index, or
null if there is
no dataset. |
Modifier and Type | Method and Description |
---|---|
CategoryItemRenderer |
CategoryPlot.getRendererForDataset(CategoryDataset dataset)
Returns the renderer for the specified dataset.
|
int |
CategoryPlot.indexOf(CategoryDataset dataset)
Returns the index of the specified dataset, or
-1 if the
dataset does not belong to the plot. |
void |
SpiderWebPlot.setDataset(CategoryDataset dataset)
Sets the dataset used by the plot and sends a
PlotChangeEvent
to all registered listeners. |
void |
MultiplePiePlot.setDataset(CategoryDataset dataset)
Sets the dataset used by the plot and sends a
PlotChangeEvent
to all registered listeners. |
void |
CategoryPlot.setDataset(CategoryDataset dataset)
Sets the dataset for the plot, replacing the existing dataset, if there
is one.
|
void |
CategoryPlot.setDataset(int index,
CategoryDataset dataset)
Sets a dataset for the plot and sends a change notification to all
registered listeners.
|
Constructor and Description |
---|
CategoryPlot(CategoryDataset dataset,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryItemRenderer renderer)
Creates a new plot.
|
MultiplePiePlot(CategoryDataset dataset)
Creates a new plot.
|
SpiderWebPlot(CategoryDataset dataset)
Creates a new spider web plot with the given dataset, with each row
representing a series.
|
SpiderWebPlot(CategoryDataset dataset,
org.jfree.util.TableOrder extract)
Creates a new spider web plot with the given dataset.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCategoryItemRenderer.addEntity(EntityCollection entities,
java.awt.Shape hotspot,
CategoryDataset dataset,
int row,
int column,
double entityX,
double entityY)
Adds an entity to the collection.
|
protected void |
AbstractCategoryItemRenderer.addItemEntity(EntityCollection entities,
CategoryDataset dataset,
int row,
int column,
java.awt.Shape hotspot)
Adds an entity with the specified hotspot.
|
protected java.util.List |
StackedBarRenderer3D.createStackedValueList(CategoryDataset dataset,
java.lang.Comparable category,
double base,
boolean asPercentages)
Deprecated.
|
protected java.util.List |
StackedBarRenderer3D.createStackedValueList(CategoryDataset dataset,
java.lang.Comparable category,
int[] includedRows,
double base,
boolean asPercentages)
Returns a list containing the stacked values for the specified series
in the given dataset, plus the supplied base value.
|
protected void |
LayeredBarRenderer.drawHorizontalItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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.
|
void |
WaterfallBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
StatisticalBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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 |
StackedBarRenderer3D.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws the visual representation of one data item from the chart (in
fact, this method does nothing until it reaches the last item for each
category, at which point it draws all the items for that category).
|
void |
StackedBarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
ScatterRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
MinMaxCategoryRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
LineRenderer3D.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
LineAndShapeRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
LevelRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
CategoryItemRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a single data item.
|
void |
BoxAndWhiskerRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draw a single data item.
|
void |
BarRenderer3D.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset,
int row,
int column,
int pass)
Draws a 3D bar to represent one data item.
|
void |
BarRenderer.drawItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryDataset data,
int row,
int column,
CategoryPlot plot,
CategoryItemLabelGenerator generator,
java.awt.geom.Rectangle2D bar,
boolean negative)
Draws an item label.
|
protected void |
AbstractCategoryItemRenderer.drawItemLabel(java.awt.Graphics2D g2,
PlotOrientation orientation,
CategoryDataset dataset,
int row,
int column,
double x,
double y,
boolean negative)
Draws an item label.
|
protected void |
StackedBarRenderer3D.drawStackHorizontal(java.util.List values,
java.lang.Comparable category,
java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset)
Draws a stack of bars for one category, with a horizontal orientation.
|
protected void |
StackedBarRenderer3D.drawStackVertical(java.util.List values,
java.lang.Comparable category,
java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.Rectangle2D dataArea,
CategoryPlot plot,
CategoryAxis domainAxis,
ValueAxis rangeAxis,
CategoryDataset dataset)
Draws a stack of bars for one category, with a vertical orientation.
|
protected void |
LayeredBarRenderer.drawVerticalItem(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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(java.awt.Graphics2D g2,
CategoryItemRendererState state,
java.awt.geom.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.
|
Range |
WaterfallBarRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
StatisticalLineAndShapeRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
StatisticalBarRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
StackedBarRenderer3D.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
StackedBarRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
StackedAreaRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
ScatterRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
IntervalBarRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values from the specified dataset.
|
Range |
GroupedStackedBarRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
CategoryItemRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
BoxAndWhiskerRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values from the specified dataset that the
renderer will require to display all the data.
|
Range |
AbstractCategoryItemRenderer.findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
Range |
BarRenderer.findRangeBounds(CategoryDataset dataset,
boolean includeInterval)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
protected Range |
AbstractCategoryItemRenderer.findRangeBounds(CategoryDataset dataset,
boolean includeInterval)
Returns the range of values the renderer requires to display all the
items from the specified dataset.
|
double |
LevelRenderer.getItemMiddle(java.lang.Comparable rowKey,
java.lang.Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
GanttRenderer.getItemMiddle(java.lang.Comparable rowKey,
java.lang.Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
CategoryItemRenderer.getItemMiddle(java.lang.Comparable rowKey,
java.lang.Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
double |
AbstractCategoryItemRenderer.getItemMiddle(java.lang.Comparable rowKey,
java.lang.Comparable columnKey,
CategoryDataset dataset,
CategoryAxis axis,
java.awt.geom.Rectangle2D area,
org.jfree.ui.RectangleEdge edge)
Returns the Java2D coordinate for the middle of the specified data item.
|
protected double |
StackedAreaRenderer.getPreviousHeight(CategoryDataset dataset,
int series,
int category)
Deprecated.
As of 1.0.13, as the method is never used internally.
|
protected double[] |
StackedAreaRenderer.getStackValues(CategoryDataset dataset,
int series,
int index,
int[] validRows)
Calculates the stacked values (one positive and one negative) of all
series up to, but not including,
series for the specified
item. |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
StandardCategoryURLGenerator.generateURL(CategoryDataset dataset,
int series,
int category)
Generates a URL for a particular item within a series.
|
java.lang.String |
CustomCategoryURLGenerator.generateURL(CategoryDataset dataset,
int series,
int item)
Generates a URL.
|
java.lang.String |
CategoryURLGenerator.generateURL(CategoryDataset dataset,
int series,
int category)
Returns a URL for one item in a dataset.
|
Modifier and Type | Interface and Description |
---|---|
interface |
IntervalCategoryDataset
A category dataset that defines a value range for each series/category
combination.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultCategoryDataset
A default implementation of the
CategoryDataset interface. |
class |
DefaultIntervalCategoryDataset
A convenience class that provides a default implementation of the
IntervalCategoryDataset interface. |
class |
SlidingCategoryDataset
A
CategoryDataset implementation that presents a subset of the
categories in an underlying dataset. |
Modifier and Type | Method and Description |
---|---|
CategoryDataset |
SlidingCategoryDataset.getUnderlyingDataset()
Returns the underlying dataset that was supplied to the constructor.
|
CategoryDataset |
CategoryToPieDataset.getUnderlyingDataset()
Returns the underlying dataset.
|
Constructor and Description |
---|
CategoryToPieDataset(CategoryDataset source,
org.jfree.util.TableOrder extract,
int index)
An adaptor class that converts any
CategoryDataset into a
PieDataset , by taking the values from a single row or column. |
SlidingCategoryDataset(CategoryDataset underlying,
int firstColumn,
int maxColumns)
Creates a new instance.
|
Modifier and Type | Interface and Description |
---|---|
interface |
GanttCategoryDataset
An extension of the
IntervalCategoryDataset interface that adds
support for multiple sub-intervals. |
Modifier and Type | Class and Description |
---|---|
class |
SlidingGanttCategoryDataset
A
GanttCategoryDataset implementation that presents a subset of the
categories in an underlying dataset. |
class |
TaskSeriesCollection
A collection of
TaskSeries objects. |
Modifier and Type | Interface and Description |
---|---|
interface |
KeyedValues2DDataset
A dataset containing (key, value) data items.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultKeyedValues2DDataset
A default implementation of the
KeyedValues2DDataset interface. |
Modifier and Type | Method and Description |
---|---|
static CategoryDataset |
DatasetUtilities.createCategoryDataset(java.lang.Comparable[] rowKeys,
java.lang.Comparable[] columnKeys,
double[][] data)
Creates a
CategoryDataset that contains a copy of the data in
an array (instances of Double are created to represent the
data items). |
static CategoryDataset |
DatasetUtilities.createCategoryDataset(java.lang.Comparable rowKey,
KeyedValues rowData)
Creates a
CategoryDataset by copying the data from the supplied
KeyedValues instance. |
static CategoryDataset |
DatasetUtilities.createCategoryDataset(java.lang.String rowKeyPrefix,
java.lang.String columnKeyPrefix,
double[][] data)
Creates a
CategoryDataset that contains a copy of the data in an
array (instances of Double are created to represent the
data items). |
static CategoryDataset |
DatasetUtilities.createCategoryDataset(java.lang.String rowKeyPrefix,
java.lang.String columnKeyPrefix,
java.lang.Number[][] data)
Creates a
CategoryDataset that contains a copy of the data in
an array. |
Modifier and Type | Method and Description |
---|---|
static PieDataset |
DatasetUtilities.createPieDatasetForColumn(CategoryDataset dataset,
java.lang.Comparable columnKey)
Creates a pie dataset from a table dataset by taking all the values
for a single column.
|
static PieDataset |
DatasetUtilities.createPieDatasetForColumn(CategoryDataset dataset,
int column)
Creates a pie dataset from a
CategoryDataset by taking all the
values for a single column. |
static PieDataset |
DatasetUtilities.createPieDatasetForRow(CategoryDataset dataset,
java.lang.Comparable rowKey)
Creates a pie dataset from a table dataset by taking all the values
for a single row.
|
static PieDataset |
DatasetUtilities.createPieDatasetForRow(CategoryDataset dataset,
int row)
Creates a pie dataset from a table dataset by taking all the values
for a single row.
|
static Range |
DatasetUtilities.findCumulativeRangeBounds(CategoryDataset dataset)
Calculates the range of values for a dataset where each item is the
running total of the items for the current series.
|
static java.lang.Number |
DatasetUtilities.findMaximumRangeValue(CategoryDataset dataset)
Returns the maximum range value for the specified dataset.
|
static java.lang.Number |
DatasetUtilities.findMaximumStackedRangeValue(CategoryDataset dataset)
Returns the maximum value in the dataset range, assuming that values in
each category are "stacked".
|
static java.lang.Number |
DatasetUtilities.findMinimumRangeValue(CategoryDataset dataset)
Returns the minimum range value for the specified dataset.
|
static java.lang.Number |
DatasetUtilities.findMinimumStackedRangeValue(CategoryDataset dataset)
Returns the minimum value in the dataset range, assuming that values in
each category are "stacked".
|
static Range |
DatasetUtilities.findRangeBounds(CategoryDataset dataset)
Returns the range of values in the range for the dataset.
|
static Range |
DatasetUtilities.findRangeBounds(CategoryDataset dataset,
boolean includeInterval)
Returns the range of values in the range for the dataset.
|
static Range |
DatasetUtilities.findRangeBounds(CategoryDataset dataset,
java.util.List visibleSeriesKeys,
boolean includeInterval)
Finds the bounds of the y-values in the specified dataset, including
only those series that are listed in visibleSeriesKeys.
|
static Range |
DatasetUtilities.findStackedRangeBounds(CategoryDataset dataset)
Returns the minimum and maximum values for the dataset's range
(y-values), assuming that the series in one category are stacked.
|
static Range |
DatasetUtilities.findStackedRangeBounds(CategoryDataset dataset,
double base)
Returns the minimum and maximum values for the dataset's range
(y-values), assuming that the series in one category are stacked.
|
static Range |
DatasetUtilities.findStackedRangeBounds(CategoryDataset dataset,
KeyToGroupMap map)
Returns the minimum and maximum values for the dataset's range
(y-values), assuming that the series in one category are stacked.
|
static boolean |
DatasetUtilities.isEmptyOrNull(CategoryDataset dataset)
Returns
true if the dataset is empty (or null ),
and false otherwise. |
static Range |
DatasetUtilities.iterateCategoryRangeBounds(CategoryDataset dataset,
boolean includeInterval)
Deprecated.
As of 1.0.10, use
DatasetUtilities.iterateRangeBounds(CategoryDataset, boolean) . |
static Range |
DatasetUtilities.iterateRangeBounds(CategoryDataset dataset)
Iterates over the data item of the category dataset to find
the range bounds.
|
static Range |
DatasetUtilities.iterateRangeBounds(CategoryDataset dataset,
boolean includeInterval)
Iterates over the data item of the category dataset to find
the range bounds.
|
static Range |
DatasetUtilities.iterateToFindRangeBounds(CategoryDataset dataset,
java.util.List visibleSeriesKeys,
boolean includeInterval)
Iterates over the data item of the category dataset to find
the range bounds.
|
Modifier and Type | Method and Description |
---|---|
CategoryDataset |
CSV.readCategoryDataset(java.io.Reader in)
Reads a
CategoryDataset from a CSV file or input source. |
Modifier and Type | Class and Description |
---|---|
class |
JDBCCategoryDataset
A
CategoryDataset implementation over a database JDBC result set. |
Modifier and Type | Interface and Description |
---|---|
interface |
BoxAndWhiskerCategoryDataset
A category dataset that defines various medians, outliers and an average
value for each item.
|
interface |
MultiValueCategoryDataset
A category dataset that defines multiple values for each item.
|
interface |
StatisticalCategoryDataset
A category dataset that defines a mean and standard deviation value for
each item.
|
Modifier and Type | Class and Description |
---|---|
class |
DefaultBoxAndWhiskerCategoryDataset
A convenience class that provides a default implementation of the
BoxAndWhiskerCategoryDataset interface. |
class |
DefaultMultiValueCategoryDataset
A category dataset that defines multiple values for each item.
|
class |
DefaultStatisticalCategoryDataset
A convenience class that provides a default implementation of the
StatisticalCategoryDataset interface. |
Modifier and Type | Method and Description |
---|---|
CategoryDataset |
CategoryDatasetHandler.getDataset()
Returns the dataset.
|
static CategoryDataset |
DatasetReader.readCategoryDatasetFromXML(java.io.File file)
Reads a
CategoryDataset from a file. |
static CategoryDataset |
DatasetReader.readCategoryDatasetFromXML(java.io.InputStream in)
Reads a
CategoryDataset from a stream. |