Uses of Interface
org.jfree.data.general.PieDataset
| Package | Description |
|---|---|
| org.jfree.chart |
Core classes, including
JFreeChart and
ChartPanel. |
| 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.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.general |
Data interfaces and classes.
|
| org.jfree.data.jdbc |
Dataset classes that fetch data from a database via JDBC.
|
| org.jfree.data.xml |
Support for reading datasets from XML files.
|
-
Uses of PieDataset in org.jfree.chart
Methods in org.jfree.chart with parameters of type PieDataset Modifier and Type Method Description static JFreeChartChartFactory. createPieChart(String title, PieDataset dataset)Creates a pie chart with default settings.static JFreeChartChartFactory. createPieChart(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls)Creates a pie chart with default settings.static JFreeChartChartFactory. createPieChart(String title, PieDataset dataset, boolean legend, boolean tooltips, Locale locale)Creates a pie chart with default settings.static JFreeChartChartFactory. 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 JFreeChartChartFactory. 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 JFreeChartChartFactory. createPieChart3D(String title, PieDataset dataset)Deprecated.For 3D pie charts, use Orson Charts (https://github.com/jfree/orson-charts).static JFreeChartChartFactory. 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 JFreeChartChartFactory. 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 JFreeChartChartFactory. createRingChart(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls)Creates a ring chart with default settings.static JFreeChartChartFactory. 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
Methods in org.jfree.chart.entity that return PieDataset Modifier and Type Method Description PieDatasetPieSectionEntity. getDataset()Returns the dataset this entity refers to.Methods in org.jfree.chart.entity with parameters of type PieDataset Modifier and Type Method Description voidPieSectionEntity. setDataset(PieDataset dataset)Sets the dataset this entity refers to.Constructors in org.jfree.chart.entity with parameters of type PieDataset Constructor Description PieSectionEntity(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
Methods in org.jfree.chart.labels with parameters of type PieDataset Modifier and Type Method Description protected Object[]AbstractPieItemLabelGenerator. createItemArray(PieDataset dataset, Comparable key)Creates the array of items that can be passed to theMessageFormatclass for creating labels.AttributedStringPieSectionLabelGenerator. generateAttributedSectionLabel(PieDataset dataset, Comparable key)Generates an attributed label for the specified series, ornullif no attributed label is available (in which case, the string returned byPieSectionLabelGenerator.generateSectionLabel(PieDataset, Comparable)will provide the fallback).AttributedStringStandardPieSectionLabelGenerator. generateAttributedSectionLabel(PieDataset dataset, Comparable key)Generates an attributed label for the specified series, ornullif no attributed label is available (in which case, the string returned byStandardPieSectionLabelGenerator.generateSectionLabel(PieDataset, Comparable)will provide the fallback).protected StringAbstractPieItemLabelGenerator. generateSectionLabel(PieDataset dataset, Comparable key)Generates a label for a pie section.StringPieSectionLabelGenerator. generateSectionLabel(PieDataset dataset, Comparable key)Generates a label for a pie section.StringStandardPieSectionLabelGenerator. generateSectionLabel(PieDataset dataset, Comparable key)Generates a label for a pie section.StringPieToolTipGenerator. generateToolTip(PieDataset dataset, Comparable key)Generates a tool tip text item for the specified item in the dataset.StringStandardPieToolTipGenerator. 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
Methods in org.jfree.chart.plot that return PieDataset Modifier and Type Method Description PieDataset<K>PiePlot. getDataset()Returns the dataset.Methods in org.jfree.chart.plot with parameters of type PieDataset Modifier and Type Method Description voidPiePlot. setDataset(PieDataset<K> dataset)Sets the dataset and sends aDatasetChangeEventto 'this'.Constructors in org.jfree.chart.plot with parameters of type PieDataset Constructor Description PiePlot(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
Methods in org.jfree.chart.urls with parameters of type PieDataset Modifier and Type Method Description StringCustomPieURLGenerator. generateURL(PieDataset dataset, Comparable key, int pieIndex)Generates a URL fragment.StringPieURLGenerator. generateURL(PieDataset dataset, Comparable key, int pieIndex)Generates a URL for one item in aPieDataset.StringStandardPieURLGenerator. generateURL(PieDataset dataset, Comparable key, int pieIndex)Generates a URL. -
Uses of PieDataset in org.jfree.data.category
Classes in org.jfree.data.category that implement PieDataset Modifier and Type Class Description classCategoryToPieDatasetAPieDatasetimplementation that obtains its data from one row or column of aCategoryDataset. -
Uses of PieDataset in org.jfree.data.general
Subinterfaces of PieDataset in org.jfree.data.general Modifier and Type Interface Description interfaceKeyedValuesDatasetA dataset containing (key, value) data items.Classes in org.jfree.data.general that implement PieDataset Modifier and Type Class Description classDefaultKeyedValuesDatasetA default implementation of theKeyedValuesDatasetinterface.classDefaultPieDataset<K extends Comparable<K>>A default implementation of thePieDatasetinterface.Methods in org.jfree.data.general that return PieDataset Modifier and Type Method Description static PieDatasetDatasetUtils. 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 PieDatasetDatasetUtils. 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 PieDatasetDatasetUtils. createPieDatasetForColumn(CategoryDataset dataset, int column)Creates a pie dataset from aCategoryDatasetby taking all the values for a single column.static PieDatasetDatasetUtils. createPieDatasetForColumn(CategoryDataset dataset, Comparable columnKey)Creates a pie dataset from a table dataset by taking all the values for a single column.static PieDatasetDatasetUtils. createPieDatasetForRow(CategoryDataset dataset, int row)Creates a pie dataset from a table dataset by taking all the values for a single row.static PieDatasetDatasetUtils. createPieDatasetForRow(CategoryDataset dataset, Comparable rowKey)Creates a pie dataset from a table dataset by taking all the values for a single row.Methods in org.jfree.data.general with parameters of type PieDataset Modifier and Type Method Description static doubleDatasetUtils. calculatePieDatasetTotal(PieDataset dataset)Calculates the total of all the values in aPieDataset.static PieDatasetDatasetUtils. 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 PieDatasetDatasetUtils. 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 booleanDatasetUtils. isEmptyOrNull(PieDataset dataset)Returnstrueif the dataset is empty (ornull), andfalseotherwise. -
Uses of PieDataset in org.jfree.data.jdbc
Classes in org.jfree.data.jdbc that implement PieDataset Modifier and Type Class Description classJDBCPieDatasetAPieDatasetthat reads data from a database via JDBC. -
Uses of PieDataset in org.jfree.data.xml
Methods in org.jfree.data.xml that return PieDataset Modifier and Type Method Description PieDatasetPieDatasetHandler. getDataset()Returns the dataset.static PieDatasetDatasetReader. readPieDatasetFromXML(File file)Reads aPieDatasetfrom an XML file.static PieDatasetDatasetReader. readPieDatasetFromXML(InputStream in)Reads aPieDatasetfrom a stream.