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(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset)
Creates an area chart with default settings.
|
static JFreeChart |
ChartFactory.createAreaChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates an area chart with default settings.
|
static JFreeChart |
ChartFactory.createBarChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset)
Creates a bar chart with a vertical orientation.
|
static JFreeChart |
ChartFactory.createBarChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a bar chart.
|
static JFreeChart |
ChartFactory.createLineChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createLineChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a line chart with default settings.
|
static JFreeChart |
ChartFactory.createMultiplePieChart(String title,
CategoryDataset dataset,
TableOrder order,
boolean legend,
boolean tooltips,
boolean urls)
Creates a chart that displays multiple pie plots.
|
static JFreeChart |
ChartFactory.createMultiplePieChart3D(String title,
CategoryDataset dataset,
TableOrder order,
boolean legend,
boolean tooltips,
boolean urls)
Creates a chart that displays multiple pie plots.
|
static JFreeChart |
ChartFactory.createStackedAreaChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset)
Creates a stacked area chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedAreaChart(String title,
String categoryAxisLabel,
String valueAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked area chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart(String title,
String domainAxisLabel,
String rangeAxisLabel,
CategoryDataset dataset)
Creates a stacked bar chart with default settings.
|
static JFreeChart |
ChartFactory.createStackedBarChart(String title,
String domainAxisLabel,
String rangeAxisLabel,
CategoryDataset dataset,
PlotOrientation orientation,
boolean legend,
boolean tooltips,
boolean urls)
Creates a stacked bar chart with default settings.
|
static JFreeChart |
ChartFactory.createWaterfallChart(String title,
String categoryAxisLabel,
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(Comparable category,
Comparable seriesKey,
CategoryDataset dataset,
double itemMargin,
Rectangle2D area,
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(Shape area,
String toolTipText,
String urlText,
CategoryDataset dataset,
Comparable rowKey,
Comparable columnKey)
Creates a new entity instance for an item in the specified dataset.
|
Modifier and Type | Method and Description |
---|---|
protected Object[] |
StandardCategorySeriesLabelGenerator.createItemArray(CategoryDataset dataset,
int series)
Creates the array of items that can be passed to the
MessageFormat class for creating labels. |
protected 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 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 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 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. |
String |
CategoryItemLabelGenerator.generateColumnLabel(CategoryDataset dataset,
int column)
Generates a label for the specified row.
|
String |
AbstractCategoryItemLabelGenerator.generateColumnLabel(CategoryDataset dataset,
int column)
Generates a label for the specified row.
|
String |
StandardCategorySeriesLabelGenerator.generateLabel(CategoryDataset dataset,
int series)
Generates a label for the specified series.
|
String |
CategorySeriesLabelGenerator.generateLabel(CategoryDataset dataset,
int series)
Generates a label for the specified series.
|
String |
StandardCategoryItemLabelGenerator.generateLabel(CategoryDataset dataset,
int row,
int column)
Generates the label for an item in a dataset.
|
String |
CategoryItemLabelGenerator.generateLabel(CategoryDataset dataset,
int row,
int column)
Generates a label for the specified item.
|
protected String |
AbstractCategoryItemLabelGenerator.generateLabelString(CategoryDataset dataset,
int row,
int column)
Generates a for the specified item.
|
String |
CategoryItemLabelGenerator.generateRowLabel(CategoryDataset dataset,
int row)
Generates a label for the specified row.
|
String |
AbstractCategoryItemLabelGenerator.generateRowLabel(CategoryDataset dataset,
int row)
Generates a label for the specified row.
|
String |
StandardCategoryToolTipGenerator.generateToolTip(CategoryDataset dataset,
int row,
int column)
Generates the tool tip text for an item in a dataset.
|
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,
TableOrder extract)
Creates a new spider web plot with the given dataset.
|
Modifier and Type | Method and Description |
---|---|
protected void |
AbstractCategoryItemRenderer.addEntity(EntityCollection entities,
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,
Shape hotspot)
Adds an entity with the specified hotspot.
|
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.
|
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.
|
protected void |
AbstractCategoryItemRenderer.drawItemLabel(Graphics2D g2,
PlotOrientation orientation,
CategoryDataset dataset,
int row,
int column,
double x,
double y,
boolean negative)
Draws an item label.
|
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.
|
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 |
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(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.
|
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 |
---|---|
String |
StandardCategoryURLGenerator.generateURL(CategoryDataset dataset,
int series,
int category)
Generates a URL for a particular item within a series.
|
String |
CustomCategoryURLGenerator.generateURL(CategoryDataset dataset,
int series,
int item)
Generates a URL.
|
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,
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 |
DatasetUtils.createCategoryDataset(Comparable[] rowKeys,
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 |
DatasetUtils.createCategoryDataset(Comparable rowKey,
KeyedValues rowData)
Creates a
CategoryDataset by copying the data from the supplied
KeyedValues instance. |
static CategoryDataset |
DatasetUtils.createCategoryDataset(String rowKeyPrefix,
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 |
DatasetUtils.createCategoryDataset(String rowKeyPrefix,
String columnKeyPrefix,
Number[][] data)
Creates a
CategoryDataset that contains a copy of the data in
an array. |
Modifier and Type | Method and Description |
---|---|
static PieDataset |
DatasetUtils.createPieDatasetForColumn(CategoryDataset dataset,
Comparable columnKey)
Creates a pie dataset from a table dataset by taking all the values
for a single column.
|
static PieDataset |
DatasetUtils.createPieDatasetForColumn(CategoryDataset dataset,
int column)
Creates a pie dataset from a
CategoryDataset by taking all the
values for a single column. |
static PieDataset |
DatasetUtils.createPieDatasetForRow(CategoryDataset dataset,
Comparable rowKey)
Creates a pie dataset from a table dataset by taking all the values
for a single row.
|
static PieDataset |
DatasetUtils.createPieDatasetForRow(CategoryDataset dataset,
int row)
Creates a pie dataset from a table dataset by taking all the values
for a single row.
|
static Range |
DatasetUtils.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 Number |
DatasetUtils.findMaximumRangeValue(CategoryDataset dataset)
Returns the maximum range value for the specified dataset.
|
static Number |
DatasetUtils.findMaximumStackedRangeValue(CategoryDataset dataset)
Returns the maximum value in the dataset range, assuming that values in
each category are "stacked".
|
static Number |
DatasetUtils.findMinimumRangeValue(CategoryDataset dataset)
Returns the minimum range value for the specified dataset.
|
static Number |
DatasetUtils.findMinimumStackedRangeValue(CategoryDataset dataset)
Returns the minimum value in the dataset range, assuming that values in
each category are "stacked".
|
static Range |
DatasetUtils.findRangeBounds(CategoryDataset dataset)
Returns the range of values in the range for the dataset.
|
static Range |
DatasetUtils.findRangeBounds(CategoryDataset dataset,
boolean includeInterval)
Returns the range of values in the range for the dataset.
|
static Range |
DatasetUtils.findRangeBounds(CategoryDataset dataset,
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 |
DatasetUtils.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 |
DatasetUtils.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 |
DatasetUtils.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 |
DatasetUtils.isEmptyOrNull(CategoryDataset dataset)
Returns
true if the dataset is empty (or null ),
and false otherwise. |
static Range |
DatasetUtils.iterateRangeBounds(CategoryDataset dataset)
Iterates over the data item of the category dataset to find
the range bounds.
|
static Range |
DatasetUtils.iterateRangeBounds(CategoryDataset dataset,
boolean includeInterval)
Iterates over the data item of the category dataset to find
the range bounds.
|
static Range |
DatasetUtils.iterateToFindRangeBounds(CategoryDataset dataset,
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(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(File file)
Reads a
CategoryDataset from a file. |
static CategoryDataset |
DatasetReader.readCategoryDatasetFromXML(InputStream in)
Reads a
CategoryDataset from a stream. |
Copyright © 2001–2017 JFree.org. All rights reserved.