Uses of Interface org.jfree.data.category.CategoryDataset

Uses in package org.jfree.data.io

Methods with return type org.jfree.data.category.CategoryDataset

CategoryDataset
Reads a CategoryDataset from a CSV file or input source.

Uses in package org.jfree.chart.urls

Methods with parameter type org.jfree.data.category.CategoryDataset

String
CategoryURLGenerator.generateURL(CategoryDataset data, int series, int category)
Returns a URL for one item in a dataset.
String
StandardCategoryURLGenerator.generateURL(CategoryDataset dataset, int series, int category)
Generates a URL for a particular item within a series.

Uses in package org.jfree.chart.renderer.category

Methods with parameter type org.jfree.data.category.CategoryDataset

void
AbstractCategoryItemRenderer.addItemEntity(EntityCollection entities, CategoryDataset dataset, int row, int column, Shape hotspot)
Adds an entity with the specified hotspot.
List
StackedBarRenderer3D.createStackedValueList(CategoryDataset dataset, Comparable category, double base, boolean asPercentages)
Returns a list containing the stacked values for the specified series in the given dataset, plus the supplied base value.
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
LayeredBarRenderer.drawHorizontalItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset data, 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
BarRenderer3D.drawItem(Graphics2D g2, CategoryItemRendererState state, 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
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
LineRenderer3D.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
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
StackedBarRenderer3D.drawItem(Graphics2D g2, CategoryItemRendererState state, 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
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.
void
AbstractCategoryItemRenderer.drawItemLabel(Graphics2D g2, PlotOrientation orientation, CategoryDataset dataset, int row, int column, double x, double y, boolean negative)
Draws an item label.
void
BarRenderer.drawItemLabel(Graphics2D g2, CategoryDataset data, int row, int column, CategoryPlot plot, CategoryItemLabelGenerator generator, Rectangle2D bar, boolean negative)
Draws an item label.
void
StackedBarRenderer3D.drawStackHorizontal(List values, Comparable category, Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset)
Draws a stack of bars for one category, with a horizontal orientation.
void
StackedBarRenderer3D.drawStackVertical(List values, Comparable category, Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset dataset)
Draws a stack of bars for one category, with a vertical orientation.
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.
void
LayeredBarRenderer.drawVerticalItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset data, int row, int column)
Draws the bar for a single (series, category) data item.
Range
Returns the range of values the renderer requires to display all the items from the specified dataset.
Range
Returns the range of values the renderer requires to display all the items from the specified dataset.
Range
Returns the range of values the renderer requires to display all the items from the specified dataset.
Range
Returns the range of values the renderer requires to display all the items from the specified dataset.
Range
Returns the range of values the renderer requires to display all the items from the specified dataset.
Range
Returns the range of values the renderer requires to display all the items from the specified dataset.
Range
Returns the range of values the renderer requires to display all the items from the specified dataset.
Range
Returns the range of values the renderer requires to display all the items from the specified dataset.
double
StackedAreaRenderer.getPreviousHeight(CategoryDataset dataset, int series, int category)
Calculates the stacked value of the all series up to, but not including series for the specified category, category.

Uses in package org.jfree.chart.plot

Constructors with parameter type org.jfree.data.category.CategoryDataset

Creates a new plot.
Creates a new plot.
Creates a new spider web plot with the given dataset, with each row representing a series.
SpiderWebPlot.SpiderWebPlot(CategoryDataset dataset, TableOrder extract)
Creates a new spider web plot with the given dataset.

Methods with parameter type org.jfree.data.category.CategoryDataset

CategoryItemRenderer
Returns the renderer for the specified dataset.
void
Sets a dataset for the plot.
void
Sets the dataset for the plot, replacing the existing dataset, if there is one.
void
Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.
void
Sets the dataset used by the plot and sends a PlotChangeEvent to all registered listeners.

Methods with return type org.jfree.data.category.CategoryDataset

CategoryDataset
Returns the primary dataset for the plot.
CategoryDataset
Returns the dataset used by the plot.
CategoryDataset
Returns the dataset.
CategoryDataset
Returns the dataset at the given index.

Uses in package org.jfree.data.general

Classes implementing org.jfree.data.category.CategoryDataset

class
A default implementation of the KeyedValues2DDataset interface.

Methods with parameter type org.jfree.data.category.CategoryDataset

PieDataset
Creates a pie dataset from a table dataset by taking all the values for a single column.
PieDataset
Creates a pie dataset from a CategoryDataset by taking all the values for a single column.
PieDataset
Creates a pie dataset from a table dataset by taking all the values for a single row.
PieDataset
Creates a pie dataset from a table dataset by taking all the values for a single row.
Range
Calculates the range of values for a dataset where each item is the running total of the items for the current series.
Number
Returns the maximum range value for the specified dataset.
Number
Returns the maximum value in the dataset range, assuming that values in each category are "stacked".
Number
Returns the minimum range value for the specified dataset.
Number
Returns the minimum value in the dataset range, assuming that values in each category are "stacked".
Range
Returns the range of values in the range for the dataset.
Range
DatasetUtilities.findRangeBounds(CategoryDataset dataset, boolean includeInterval)
Returns the range of values in the range for the dataset.
Range
Returns the minimum and maximum values for the dataset's range (y-values), assuming that the series in one category are stacked.
Range
Returns the minimum and maximum values for the dataset's range (y-values), assuming that the series in one category are stacked.
Range
Returns the minimum and maximum values for the dataset's range (y-values), assuming that the series in one category are stacked.
boolean
Returns true if the dataset is empty (or null), and false otherwise.
Range
DatasetUtilities.iterateCategoryRangeBounds(CategoryDataset dataset, boolean includeInterval)
Iterates over the data item of the category dataset to find the range bounds.

Methods with return type org.jfree.data.category.CategoryDataset

CategoryDataset
DatasetUtilities.createCategoryDataset(Comparable rowKey, KeyedValues rowData)
Creates a CategoryDataset by copying the data from the supplied KeyedValues instance.
CategoryDataset
DatasetUtilities.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).
CategoryDataset
DatasetUtilities.createCategoryDataset(String rowKeyPrefix, String columnKeyPrefix, Number[][] data)
Creates a CategoryDataset that contains a copy of the data in an array.
CategoryDataset
DatasetUtilities.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).

Uses in package org.jfree.chart.labels

Methods with parameter type org.jfree.data.category.CategoryDataset

Object[]
Creates the array of items that can be passed to the MessageFormat class for creating labels.
Object[]
Creates the array of items that can be passed to the MessageFormat class for creating labels.
Object[]
Creates the array of items that can be passed to the MessageFormat class for creating labels.
Object[]
Creates the array of items that can be passed to the MessageFormat class for creating labels.
Object[]
Creates the array of items that can be passed to the MessageFormat class for creating labels.
String
Generates a label for the specified row.
String
Generates a label for the specified row.
String
Generates a label for the specified series.
String
Generates a label for the specified series.
String
Generates a label for the specified item.
String
Generates the label for an item in a dataset.
String
Generates a for the specified item.
String
Generates a label for the specified row.
String
Generates a label for the specified row.
String
Generates the tool tip text for an item in a dataset.
String
Generates the tool tip text for an item in a dataset.

Uses in package org.jfree.data.category

Classes implementing org.jfree.data.category.CategoryDataset

class
A default implementation of the CategoryDataset interface.
class
A convenience class that provides a default implementation of the IntervalCategoryDataset interface.

Constructors with parameter type org.jfree.data.category.CategoryDataset

CategoryToPieDataset.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.

Methods with return type org.jfree.data.category.CategoryDataset

CategoryDataset
Returns the underlying dataset.

Uses in package org.jfree.chart.entity

Constructors with parameter type org.jfree.data.category.CategoryDataset

CategoryItemEntity.CategoryItemEntity(Shape area, String toolTipText, String urlText, CategoryDataset dataset, int series, Object category, int categoryIndex)
Creates a new category item entity.

Methods with parameter type org.jfree.data.category.CategoryDataset

void
Sets the datset this entity refers to.

Methods with return type org.jfree.data.category.CategoryDataset

CategoryDataset
Returns the datset this entity refers to.

Uses in package org.jfree.data.jdbc

Classes implementing org.jfree.data.category.CategoryDataset

class
A CategoryDataset implementation over a database JDBC result set.

Uses in package org.jfree.chart

Methods with parameter type org.jfree.data.category.CategoryDataset

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.
JFreeChart
ChartFactory.createBarChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
Creates a bar chart.
JFreeChart
ChartFactory.createBarChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
Creates a bar chart with a 3D effect.
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.
JFreeChart
ChartFactory.createLineChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
Creates a line chart with default settings.
JFreeChart
ChartFactory.createMultiplePieChart(String title, CategoryDataset dataset, TableOrder order, boolean legend, boolean tooltips, boolean urls)
Creates a chart that displays multiple pie plots.
JFreeChart
ChartFactory.createMultiplePieChart3D(String title, CategoryDataset dataset, TableOrder order, boolean legend, boolean tooltips, boolean urls)
Creates a chart that displays multiple pie plots.
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.
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.
JFreeChart
ChartFactory.createStackedBarChart3D(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
Creates a stacked bar chart with a 3D effect and default settings.
JFreeChart
ChartFactory.createWaterfallChart(String title, String categoryAxisLabel, String valueAxisLabel, CategoryDataset dataset, PlotOrientation orientation, boolean legend, boolean tooltips, boolean urls)
Creates a waterfall chart.

Uses in package org.jfree.data.xml

Methods with return type org.jfree.data.category.CategoryDataset

CategoryDataset
Returns the dataset.
CategoryDataset
Reads a CategoryDataset from a file.
CategoryDataset
Reads a CategoryDataset from a stream.

Uses in package org.jfree.data.gantt

Classes implementing org.jfree.data.category.CategoryDataset

class
A collection of TaskSeries objects.

Uses in package org.jfree.data.statistics

Classes implementing org.jfree.data.category.CategoryDataset

class
A convenience class that provides a default implementation of the BoxAndWhiskerCategoryDataset interface.
class
A convenience class that provides a default implementation of the StatisticalCategoryDataset interface.