Uses of Interface
org.jfree.data.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 |
Data interfaces and classes.
|
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 JFreeChart
ChartFactory. createPie3DChart(String title, PieDataset data, boolean legend, boolean tooltips, boolean urls)
Deprecated.Use createPieChart3D(...).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, 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. createPieChart3D(String title, PieDataset dataset, boolean legend, boolean tooltips, boolean urls)
Creates a 3D pie chart using the specified dataset. -
Uses of PieDataset in org.jfree.chart.entity
Methods in org.jfree.chart.entity that return PieDataset Modifier and Type Method Description PieDataset
PieSectionEntity. getDataset()
Returns the datset this entity refers to.Methods in org.jfree.chart.entity with parameters of type PieDataset Modifier and Type Method Description void
PieSectionEntity. setDataset(PieDataset dataset)
Sets the datset 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 String
PieSectionLabelGenerator. generateSectionLabel(PieDataset dataset, Comparable key)
Generates a label for a pie section.String
StandardPieItemLabelGenerator. generateSectionLabel(PieDataset dataset, Comparable key)
Generates a label for a pie section.String
PieToolTipGenerator. generateToolTip(PieDataset dataset, Comparable key)
Generates a tool tip text item for the specified item in the dataset.String
StandardPieItemLabelGenerator. 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
PiePlot. getDataset()
Returns the dataset.Methods in org.jfree.chart.plot with parameters of type PieDataset Modifier and Type Method Description void
PiePlot. setDataset(PieDataset dataset)
Sets the dataset and sends aDatasetChangeEvent
to 'this'.Constructors in org.jfree.chart.plot with parameters of type PieDataset Constructor Description PiePlot(PieDataset dataset)
Creates a plot that will draw a pie chart for the specified dataset.PiePlot3D(PieDataset dataset)
Creates a pie chart with a three dimensional effect using 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 String
CustomPieURLGenerator. generateURL(PieDataset dataset, Comparable key, int pieIndex)
Generates a URL.String
PieURLGenerator. generateURL(PieDataset data, Comparable key, int pieIndex)
Generates a URL for one item in aPieDataset
.String
StandardPieURLGenerator. generateURL(PieDataset data, Comparable key, int pieIndex)
Generates a URL. -
Uses of PieDataset in org.jfree.data
Subinterfaces of PieDataset in org.jfree.data Modifier and Type Interface Description interface
KeyedValuesDataset
A dataset containing (key, value) data items.Classes in org.jfree.data that implement PieDataset Modifier and Type Class Description class
CategoryToPieDataset
APieDataset
implementation that obtains its data from one row or column of aCategoryDataset
.class
DefaultKeyedValuesDataset
A default implementation of theKeyedValuesDataset
interface.class
DefaultPieDataset
A default implementation of thePieDataset
interface.class
JDBCPieDataset
APieDataset
that reads data from a database via JDBC.Methods in org.jfree.data that return PieDataset Modifier and Type Method Description static PieDataset
DatasetUtilities. createPieDatasetForColumn(CategoryDataset data, int column)
Creates a pie dataset from a table dataset by taking all the values for a single column.static PieDataset
DatasetUtilities. createPieDatasetForColumn(CategoryDataset data, Comparable columnKey)
Creates a pie dataset from a table dataset by taking all the values for a single column.static PieDataset
DatasetUtilities. createPieDatasetForRow(CategoryDataset data, int row)
Creates a pie dataset from a table dataset by taking all the values for a single row.static PieDataset
DatasetUtilities. createPieDatasetForRow(CategoryDataset data, Comparable rowKey)
Creates a pie dataset from a table dataset by taking all the values for a single row.static PieDataset
DatasetUtilities. limitPieDataset(PieDataset dataset, double percentThreshold)
Creates an "Other" slice for percentages below the percent threshold.static PieDataset
DatasetUtilities. limitPieDataset(PieDataset dataset, double percentThreshold, int minItems)
Create an "Other" slice for percentages below the percent threshold providing there are more slices below the percent threshold than specified in the slice threshold.static PieDataset
DatasetUtilities. limitPieDataset(PieDataset dataset, double percentThreshold, int minItems, Comparable key)
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 the percentThreshold) into a single item.Methods in org.jfree.data with parameters of type PieDataset Modifier and Type Method Description static double
DatasetUtilities. calculatePieDatasetTotal(PieDataset dataset)
Calculates the total of all the values in aPieDataset
.static boolean
DatasetUtilities. isEmptyOrNull(PieDataset dataset)
Returnstrue
if the dataset is empty (ornull
), andfalse
otherwise.static PieDataset
DatasetUtilities. limitPieDataset(PieDataset dataset, double percentThreshold)
Creates an "Other" slice for percentages below the percent threshold.static PieDataset
DatasetUtilities. limitPieDataset(PieDataset dataset, double percentThreshold, int minItems)
Create an "Other" slice for percentages below the percent threshold providing there are more slices below the percent threshold than specified in the slice threshold.static PieDataset
DatasetUtilities. limitPieDataset(PieDataset dataset, double percentThreshold, int minItems, Comparable key)
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 the percentThreshold) into a single item. -
Uses of PieDataset in org.jfree.data.xml
Methods in org.jfree.data.xml that return PieDataset Modifier and Type Method Description PieDataset
PieDatasetHandler. 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.