Uses of Interface
org.jfree.data.general.PieDataset
Package
Description
Core classes, including
JFreeChart
and
ChartPanel
.Classes representing components of (or entities in) a chart.
Generators and other classes used for the display of item labels and tooltips.
Plot classes and related interfaces.
Classes for adding URLS to charts for HTML image map generation.
A package containing the
CategoryDataset
interface and related classes.Data interfaces and classes.
Dataset classes that fetch data from a database via JDBC.
Support for reading datasets from XML files.
-
Uses of PieDataset in org.jfree.chart
Modifier and TypeMethodDescriptionstatic JFreeChart
ChartFactory.createPieChart
(String title, PieDataset dataset) Creates a pie chart with default settings.static JFreeChart
ChartFactory.createPieChart
(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls) Creates a pie chart with default settings.static JFreeChart
ChartFactory.createPieChart
(String title, PieDataset dataset, boolean legend, boolean tooltips, Locale locale) Creates a pie chart with default settings.static JFreeChart
ChartFactory.createPieChart
(String title, PieDataset dataset, PieDataset previousDataset, int percentDiffForMaxScale, boolean greenForIncrease, boolean legend, boolean tooltips, boolean urls, boolean subTitle, boolean showDifference) Creates a pie chart with default settings that compares 2 datasets.static JFreeChart
ChartFactory.createPieChart
(String title, PieDataset dataset, PieDataset previousDataset, int percentDiffForMaxScale, boolean greenForIncrease, boolean legend, boolean tooltips, Locale locale, boolean subTitle, boolean showDifference) Creates a pie chart with default settings that compares 2 datasets.static JFreeChart
ChartFactory.createPieChart3D
(String title, PieDataset dataset) Deprecated.For 3D pie charts, use Orson Charts (https://github.com/jfree/orson-charts).static JFreeChart
ChartFactory.createPieChart3D
(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls) Deprecated.For 3D pie charts, use Orson Charts (https://github.com/jfree/orson-charts).static JFreeChart
ChartFactory.createPieChart3D
(String title, PieDataset dataset, boolean legend, boolean tooltips, Locale locale) Deprecated.For 3D pie charts, use Orson Charts (https://github.com/jfree/orson-charts).static JFreeChart
ChartFactory.createRingChart
(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls) Creates a ring chart with default settings.static JFreeChart
ChartFactory.createRingChart
(String title, PieDataset dataset, boolean legend, boolean tooltips, Locale locale) Creates a ring chart with default settings. -
Uses of PieDataset in org.jfree.chart.entity
Modifier and TypeMethodDescriptionPieSectionEntity.getDataset()
Returns the dataset this entity refers to.Modifier and TypeMethodDescriptionvoid
PieSectionEntity.setDataset
(PieDataset dataset) Sets the dataset this entity refers to.ModifierConstructorDescriptionPieSectionEntity
(Shape area, PieDataset dataset, int pieIndex, int sectionIndex, Comparable sectionKey, String toolTipText, String urlText) Creates a new pie section entity. -
Uses of PieDataset in org.jfree.chart.labels
Modifier and TypeMethodDescriptionprotected Object[]
AbstractPieItemLabelGenerator.createItemArray
(PieDataset dataset, Comparable key) Creates the array of items that can be passed to theMessageFormat
class for creating labels.PieSectionLabelGenerator.generateAttributedSectionLabel
(PieDataset dataset, Comparable key) Generates an attributed label for the specified series, ornull
if no attributed label is available (in which case, the string returned byPieSectionLabelGenerator.generateSectionLabel(PieDataset, Comparable)
will provide the fallback).StandardPieSectionLabelGenerator.generateAttributedSectionLabel
(PieDataset dataset, Comparable key) Generates an attributed label for the specified series, ornull
if no attributed label is available (in which case, the string returned byStandardPieSectionLabelGenerator.generateSectionLabel(PieDataset, Comparable)
will provide the fallback).protected String
AbstractPieItemLabelGenerator.generateSectionLabel
(PieDataset dataset, Comparable key) Generates a label for a pie section.PieSectionLabelGenerator.generateSectionLabel
(PieDataset dataset, Comparable key) Generates a label for a pie section.StandardPieSectionLabelGenerator.generateSectionLabel
(PieDataset dataset, Comparable key) Generates a label for a pie section.PieToolTipGenerator.generateToolTip
(PieDataset dataset, Comparable key) Generates a tool tip text item for the specified item in the dataset.StandardPieToolTipGenerator.generateToolTip
(PieDataset dataset, Comparable key) Generates a tool tip text item for one section in a pie chart. -
Uses of PieDataset in org.jfree.chart.plot
Modifier and TypeMethodDescriptionvoid
PiePlot.setDataset
(PieDataset<K> dataset) Sets the dataset and sends aDatasetChangeEvent
to 'this'.ModifierConstructorDescriptionPiePlot
(PieDataset<K> dataset) Creates a plot that will draw a pie chart for the specified dataset.PiePlot3D
(PieDataset dataset) Deprecated.Creates a pie chart with a three dimensional effect using the specified dataset.RingPlot
(PieDataset dataset) Creates a new plot for the specified dataset. -
Uses of PieDataset in org.jfree.chart.urls
Modifier and TypeMethodDescriptionCustomPieURLGenerator.generateURL
(PieDataset dataset, Comparable key, int pieIndex) Generates a URL fragment.PieURLGenerator.generateURL
(PieDataset dataset, Comparable key, int pieIndex) Generates a URL for one item in aPieDataset
.StandardPieURLGenerator.generateURL
(PieDataset dataset, Comparable key, int pieIndex) Generates a URL. -
Uses of PieDataset in org.jfree.data.category
Modifier and TypeClassDescriptionclass
APieDataset
implementation that obtains its data from one row or column of aCategoryDataset
. -
Uses of PieDataset in org.jfree.data.general
Modifier and TypeInterfaceDescriptioninterface
A dataset containing (key, value) data items.Modifier and TypeClassDescriptionclass
A default implementation of theKeyedValuesDataset
interface.class
DefaultPieDataset<K extends Comparable<K>>
A default implementation of thePieDataset
interface.Modifier and TypeMethodDescriptionstatic PieDataset
DatasetUtils.createConsolidatedPieDataset
(PieDataset source, Comparable key, double minimumPercent) Creates a new pie dataset based on the supplied dataset, but modified by aggregating all the low value items (those whose value is lower than thepercentThreshold
) into a single item with the key "Other".static PieDataset
DatasetUtils.createConsolidatedPieDataset
(PieDataset source, Comparable key, double minimumPercent, int minItems) Creates a new pie dataset based on the supplied dataset, but modified by aggregating all the low value items (those whose value is lower than thepercentThreshold
) into a single item.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.Modifier and TypeMethodDescriptionstatic double
DatasetUtils.calculatePieDatasetTotal
(PieDataset dataset) Calculates the total of all the values in aPieDataset
.static PieDataset
DatasetUtils.createConsolidatedPieDataset
(PieDataset source, Comparable key, double minimumPercent) Creates a new pie dataset based on the supplied dataset, but modified by aggregating all the low value items (those whose value is lower than thepercentThreshold
) into a single item with the key "Other".static PieDataset
DatasetUtils.createConsolidatedPieDataset
(PieDataset source, Comparable key, double minimumPercent, int minItems) Creates a new pie dataset based on the supplied dataset, but modified by aggregating all the low value items (those whose value is lower than thepercentThreshold
) into a single item.static boolean
DatasetUtils.isEmptyOrNull
(PieDataset dataset) Returnstrue
if the dataset is empty (ornull
), andfalse
otherwise. -
Uses of PieDataset in org.jfree.data.jdbc
-
Uses of PieDataset in org.jfree.data.xml
Modifier and TypeMethodDescriptionPieDatasetHandler.getDataset()
Returns the dataset.static PieDataset
DatasetReader.readPieDatasetFromXML
(File file) Reads aPieDataset
from an XML file.static PieDataset
DatasetReader.readPieDatasetFromXML
(InputStream in) Reads aPieDataset
from a stream.