java.lang.Object | ||
↳ | org.jfree.chart.plot.Plot | |
↳ | org.jfree.chart.plot.MultiplePiePlot |
A plot that displays multiple pie plots using data from a
CategoryDataset
.
[Expand]
Inherited Constants | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.plot.Plot
|
[Expand]
Inherited Fields | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.plot.Plot
|
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new plot with no data.
| |||||||||||
Creates a new plot.
|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a clone of the plot.
| |||||||||||
Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
| |||||||||||
Tests this plot for equality with an arbitrary object.
| |||||||||||
Returns the key for aggregated items in the pie plots, if there are any.
| |||||||||||
Returns the paint used to draw the pie section representing the
aggregated items.
| |||||||||||
Returns the data extract order (by row or by column).
| |||||||||||
Returns the dataset used by the plot.
| |||||||||||
Returns the shape used for legend items.
| |||||||||||
Returns a collection of legend items for the pie chart.
| |||||||||||
Returns the limit (as a percentage) below which small pie sections are
aggregated.
| |||||||||||
Returns the pie chart that is used to draw the individual pie plots.
| |||||||||||
Returns a short string describing the type of plot.
| |||||||||||
Sets the key for aggregated items in the pie plots.
| |||||||||||
Sets the paint used to draw the pie section representing the aggregated
items and sends a
PlotChangeEvent to all registered listeners. | |||||||||||
Sets the data extract order (by row or by column) and sends a
PlotChangeEvent to all registered listeners. | |||||||||||
Sets the dataset used by the plot and sends a
PlotChangeEvent
to all registered listeners. | |||||||||||
Sets the shape used for legend items and sends a
PlotChangeEvent
to all registered listeners. | |||||||||||
Sets the limit below which pie sections are aggregated.
| |||||||||||
Sets the chart that is used to draw the individual pie plots.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
org.jfree.chart.plot.Plot
| |||||||||||
From class
java.lang.Object
| |||||||||||
From interface
org.jfree.chart.LegendItemSource
| |||||||||||
From interface
org.jfree.chart.event.AxisChangeListener
| |||||||||||
From interface
org.jfree.chart.event.MarkerChangeListener
| |||||||||||
From interface
org.jfree.data.general.DatasetChangeListener
|
Creates a new plot with no data.
Creates a new plot.
dataset | the dataset (null permitted).
|
---|
Returns a clone of the plot.
CloneNotSupportedException | if some component of the plot does not support cloning. |
---|
Draws the plot on a Java 2D graphics device (such as the screen or a printer).
g2 | the graphics device. |
---|---|
area | the area within which the plot should be drawn. |
anchor | the anchor point (null permitted). |
parentState | the state from the parent plot, if there is one. |
info | collects info about the drawing. |
Tests this plot for equality with an arbitrary object. Note that the plot's dataset is not considered in the equality test.
obj | the object (null permitted). |
---|
true
if this plot is equal to obj
, and
false
otherwise.
Returns the key for aggregated items in the pie plots, if there are any. The default value is "Other".
Returns the paint used to draw the pie section representing the
aggregated items. The default value is Color.lightGray
.
Returns the data extract order (by row or by column).
null
).
Returns the dataset used by the plot.
null
).
Returns the shape used for legend items.
null
).Returns a collection of legend items for the pie chart.
Returns the limit (as a percentage) below which small pie sections are aggregated.
Returns the pie chart that is used to draw the individual pie plots. Note that there are some attributes on this chart instance that will be ignored at rendering time (for example, legend item settings).
null
).Returns a short string describing the type of plot.
Sets the key for aggregated items in the pie plots. You must ensure that this doesn't clash with any keys in the dataset.
key | the key (null not permitted). |
---|
Sets the paint used to draw the pie section representing the aggregated
items and sends a PlotChangeEvent
to all registered listeners.
paint | the paint (null not permitted). |
---|
Sets the data extract order (by row or by column) and sends a
PlotChangeEvent
to all registered listeners.
order | the order (null not permitted).
|
---|
Sets the dataset used by the plot and sends a PlotChangeEvent
to all registered listeners.
dataset | the dataset (null permitted).
|
---|
Sets the shape used for legend items and sends a PlotChangeEvent
to all registered listeners.
shape | the shape (null not permitted). |
---|
Sets the limit below which pie sections are aggregated. Set this to 0.0 if you don't want any aggregation to occur.
limit | the limit percent. |
---|
Sets the chart that is used to draw the individual pie plots. The
chart's plot must be an instance of PiePlot
.
pieChart | the pie chart (null not permitted). |
---|