Uses of Interface
org.jfree.data.category.CategoryDataset
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.
|
-
Uses of CategoryDataset in org.jfree.chart
Methods in org.jfree.chart with parameters of type CategoryDataset Modifier and Type Method 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. -
Uses of CategoryDataset in org.jfree.chart.axis
Methods in org.jfree.chart.axis with parameters of type CategoryDataset Modifier and Type Method 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. -
Uses of CategoryDataset in org.jfree.chart.entity
Methods in org.jfree.chart.entity that return CategoryDataset Modifier and Type Method Description CategoryDataset
CategoryItemEntity. getDataset()
Returns the dataset this entity refers to.Methods in org.jfree.chart.entity with parameters of type CategoryDataset Modifier and Type Method Description void
CategoryItemEntity. setDataset(CategoryDataset dataset)
Sets the dataset this entity refers to.Constructors in org.jfree.chart.entity with parameters of type CategoryDataset Constructor 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. -
Uses of CategoryDataset in org.jfree.chart.labels
Methods in org.jfree.chart.labels with parameters of type CategoryDataset Modifier and Type Method Description protected Object[]
AbstractCategoryItemLabelGenerator. createItemArray(CategoryDataset dataset, int row, int column)
Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
BoxAndWhiskerToolTipGenerator. createItemArray(CategoryDataset dataset, int series, int item)
Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
IntervalCategoryItemLabelGenerator. createItemArray(CategoryDataset dataset, int row, int column)
Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
IntervalCategoryToolTipGenerator. createItemArray(CategoryDataset dataset, int row, int column)
Creates the array of items that can be passed to theMessageFormat
class for creating labels.protected Object[]
StandardCategorySeriesLabelGenerator. createItemArray(CategoryDataset dataset, int series)
Creates the array of items that can be passed to theMessageFormat
class for creating labels.String
AbstractCategoryItemLabelGenerator. generateColumnLabel(CategoryDataset dataset, int column)
Generates a label for the specified row.String
CategoryItemLabelGenerator. generateColumnLabel(CategoryDataset dataset, int column)
Generates a label for the specified row.String
CategoryItemLabelGenerator. generateLabel(CategoryDataset dataset, int row, int column)
Generates a label for the specified item.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
StandardCategorySeriesLabelGenerator. generateLabel(CategoryDataset dataset, int series)
Generates a label for the specified series.protected String
AbstractCategoryItemLabelGenerator. generateLabelString(CategoryDataset dataset, int row, int column)
Generates a for the specified item.String
AbstractCategoryItemLabelGenerator. generateRowLabel(CategoryDataset dataset, int row)
Generates a label for the specified row.String
CategoryItemLabelGenerator. generateRowLabel(CategoryDataset dataset, int row)
Generates a label for the specified row.String
CategoryToolTipGenerator. generateToolTip(CategoryDataset dataset, int row, int column)
Generates the tool tip text for an item in a dataset.String
StandardCategoryToolTipGenerator. generateToolTip(CategoryDataset dataset, int row, int column)
Generates the tool tip text for an item in a dataset. -
Uses of CategoryDataset in org.jfree.chart.plot
Methods in org.jfree.chart.plot that return CategoryDataset Modifier and Type Method Description CategoryDataset
CategoryPlot. getDataset()
Returns the primary dataset for the plot.CategoryDataset
CategoryPlot. getDataset(int index)
Returns the dataset with the given index, ornull
if there is no dataset.CategoryDataset
MultiplePiePlot. getDataset()
Returns the dataset used by the plot.CategoryDataset
SpiderWebPlot. getDataset()
Returns the dataset.Methods in org.jfree.chart.plot with parameters of type CategoryDataset Modifier and Type Method 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
CategoryPlot. setDataset(int index, CategoryDataset dataset)
Sets a dataset for the plot and sends a change notification to all registered listeners.void
CategoryPlot. setDataset(CategoryDataset dataset)
Sets the dataset for the plot, replacing the existing dataset, if there is one.void
MultiplePiePlot. setDataset(CategoryDataset dataset)
Sets the dataset used by the plot and sends aPlotChangeEvent
to all registered listeners.void
SpiderWebPlot. setDataset(CategoryDataset dataset)
Sets the dataset used by the plot and sends aPlotChangeEvent
to all registered listeners.Constructors in org.jfree.chart.plot with parameters of type CategoryDataset Constructor 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. -
Uses of CategoryDataset in org.jfree.chart.renderer.category
Methods in org.jfree.chart.renderer.category with parameters of type CategoryDataset Modifier and Type Method 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.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
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
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.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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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
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.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
BarRenderer. drawItemLabel(Graphics2D g2, CategoryDataset data, int row, int column, CategoryPlot plot, CategoryItemLabelGenerator generator, Rectangle2D bar, boolean negative)
Draws an item label.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
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.Range
AbstractCategoryItemRenderer. findRangeBounds(CategoryDataset dataset)
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.Range
BarRenderer. findRangeBounds(CategoryDataset dataset, boolean includeInterval)
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
CategoryItemRenderer. findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the items 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
IntervalBarRenderer. findRangeBounds(CategoryDataset dataset)
Returns the range of values 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
StackedAreaRenderer. 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
StatisticalBarRenderer. 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
WaterfallBarRenderer. findRangeBounds(CategoryDataset dataset)
Returns the range of values the renderer requires to display all the items from the specified dataset.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.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
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
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.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. -
Uses of CategoryDataset in org.jfree.chart.urls
Methods in org.jfree.chart.urls with parameters of type CategoryDataset Modifier and Type Method Description String
CategoryURLGenerator. generateURL(CategoryDataset dataset, int series, int category)
Returns a URL for one item in a dataset.String
CustomCategoryURLGenerator. generateURL(CategoryDataset dataset, int series, int item)
Generates a URL.String
StandardCategoryURLGenerator. generateURL(CategoryDataset dataset, int series, int category)
Generates a URL for a particular item within a series. -
Uses of CategoryDataset in org.jfree.data.category
Subinterfaces of CategoryDataset in org.jfree.data.category Modifier and Type Interface Description interface
IntervalCategoryDataset
A category dataset that defines a value range for each series/category combination.Classes in org.jfree.data.category that implement CategoryDataset Modifier and Type Class Description class
DefaultCategoryDataset
A default implementation of theCategoryDataset
interface.class
DefaultIntervalCategoryDataset
A convenience class that provides a default implementation of theIntervalCategoryDataset
interface.class
SlidingCategoryDataset
ACategoryDataset
implementation that presents a subset of the categories in an underlying dataset.Methods in org.jfree.data.category that return CategoryDataset Modifier and Type Method Description CategoryDataset
CategoryToPieDataset. getUnderlyingDataset()
Returns the underlying dataset.CategoryDataset
SlidingCategoryDataset. getUnderlyingDataset()
Returns the underlying dataset that was supplied to the constructor.Constructors in org.jfree.data.category with parameters of type CategoryDataset Constructor Description CategoryToPieDataset(CategoryDataset source, TableOrder extract, int index)
An adaptor class that converts anyCategoryDataset
into aPieDataset
, by taking the values from a single row or column.SlidingCategoryDataset(CategoryDataset underlying, int firstColumn, int maxColumns)
Creates a new instance. -
Uses of CategoryDataset in org.jfree.data.gantt
Subinterfaces of CategoryDataset in org.jfree.data.gantt Modifier and Type Interface Description interface
GanttCategoryDataset
An extension of theIntervalCategoryDataset
interface that adds support for multiple sub-intervals.Classes in org.jfree.data.gantt that implement CategoryDataset Modifier and Type Class Description class
SlidingGanttCategoryDataset
AGanttCategoryDataset
implementation that presents a subset of the categories in an underlying dataset.class
TaskSeriesCollection
A collection ofTaskSeries
objects. -
Uses of CategoryDataset in org.jfree.data.general
Subinterfaces of CategoryDataset in org.jfree.data.general Modifier and Type Interface Description interface
KeyedValues2DDataset
A dataset containing (key, value) data items.Classes in org.jfree.data.general that implement CategoryDataset Modifier and Type Class Description class
DefaultKeyedValues2DDataset
A default implementation of theKeyedValues2DDataset
interface.Methods in org.jfree.data.general that return CategoryDataset Modifier and Type Method Description static CategoryDataset
DatasetUtils. createCategoryDataset(Comparable[] rowKeys, Comparable[] columnKeys, double[][] data)
Creates aCategoryDataset
that contains a copy of the data in an array (instances ofdouble
are created to represent the data items).static CategoryDataset
DatasetUtils. createCategoryDataset(Comparable rowKey, KeyedValues rowData)
Creates aCategoryDataset
by copying the data from the suppliedKeyedValues
instance.static CategoryDataset
DatasetUtils. createCategoryDataset(String rowKeyPrefix, String columnKeyPrefix, double[][] data)
Creates aCategoryDataset
that contains a copy of the data in an array (instances ofdouble
are created to represent the data items).static CategoryDataset
DatasetUtils. createCategoryDataset(String rowKeyPrefix, String columnKeyPrefix, Number[][] data)
Creates aCategoryDataset
that contains a copy of the data in an array.Methods in org.jfree.data.general with parameters of type CategoryDataset Modifier and Type Method Description static PieDataset
DatasetUtils. createPieDatasetForColumn(CategoryDataset dataset, int column)
Creates a pie dataset from aCategoryDataset
by taking all the values for a single column.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. createPieDatasetForRow(CategoryDataset dataset, int row)
Creates a pie dataset from a table dataset by taking all the values for a single row.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 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)
Returnstrue
if the dataset is empty (ornull
), andfalse
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. -
Uses of CategoryDataset in org.jfree.data.io
Methods in org.jfree.data.io that return CategoryDataset Modifier and Type Method Description CategoryDataset
CSV. readCategoryDataset(Reader in)
Reads aCategoryDataset
from a CSV file or input source. -
Uses of CategoryDataset in org.jfree.data.jdbc
Classes in org.jfree.data.jdbc that implement CategoryDataset Modifier and Type Class Description class
JDBCCategoryDataset
ACategoryDataset
implementation over a database JDBC result set. -
Uses of CategoryDataset in org.jfree.data.statistics
Subinterfaces of CategoryDataset in org.jfree.data.statistics Modifier and Type Interface 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.Classes in org.jfree.data.statistics that implement CategoryDataset Modifier and Type Class Description class
DefaultBoxAndWhiskerCategoryDataset
A convenience class that provides a default implementation of theBoxAndWhiskerCategoryDataset
interface.class
DefaultMultiValueCategoryDataset
A category dataset that defines multiple values for each item.class
DefaultStatisticalCategoryDataset
A convenience class that provides a default implementation of theStatisticalCategoryDataset
interface. -
Uses of CategoryDataset in org.jfree.data.xml
Methods in org.jfree.data.xml that return CategoryDataset Modifier and Type Method Description CategoryDataset
CategoryDatasetHandler. getDataset()
Returns the dataset.static CategoryDataset
DatasetReader. readCategoryDatasetFromXML(File file)
Reads aCategoryDataset
from a file.static CategoryDataset
DatasetReader. readCategoryDatasetFromXML(InputStream in)
Reads aCategoryDataset
from a stream.