|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Object
|
+--org.jfree.chart.plot.Plot
|
+--org.jfree.chart.plot.PiePlot
|
+--org.jfree.chart.plot.Pie3DPlot
A plot that displays data in the form of a 3D pie chart, using data from any class that implements the CategoryDataset interface.
Plot,
Serialized Form| Field Summary |
| Fields inherited from class org.jfree.chart.plot.Plot |
DEFAULT_BACKGROUND_ALPHA, DEFAULT_BACKGROUND_PAINT, DEFAULT_FOREGROUND_ALPHA, DEFAULT_INSETS, DEFAULT_OUTLINE_PAINT, DEFAULT_OUTLINE_STROKE, MINIMUM_HEIGHT_TO_DRAW, MINIMUM_WIDTH_TO_DRAW, ZERO |
| Constructor Summary | |
Pie3DPlot(PieDataset data)
Creates a 3D pie chart with default attributes. |
|
| Method Summary | |
void |
draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
ChartRenderingInfo info)
Draws the plot on a Java 2D graphics device (such as the screen or a printer). |
void |
drawSide(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Arc2D arc,
java.awt.geom.Area front,
java.awt.geom.Area back,
java.awt.Paint paint,
boolean drawFront,
boolean drawBack)
Draws the side of a pie section. |
double |
getDepthFactor()
The depth factor for the chart. |
java.lang.String |
getPlotType()
Returns a short string describing the type of plot. |
void |
setDepthFactor(double newDepthFactor)
Sets the factor of the pie depth from the plot height. |
| Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
public Pie3DPlot(PieDataset data)
data - the data for the chart.| Method Detail |
public void setDepthFactor(double newDepthFactor)
newDepthFactor - the new depth factor.public double getDepthFactor()
public void draw(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
ChartRenderingInfo info)
draw in class PiePlotg2 - the graphics device.plotArea - the area within which the plot should be drawn.info - collects info about the drawing.
public void drawSide(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Arc2D arc,
java.awt.geom.Area front,
java.awt.geom.Area back,
java.awt.Paint paint,
boolean drawFront,
boolean drawBack)
g2 - the graphics device.plotArea - the plot area.arc - the arc.front - the front of the pie.back - the back of the pie.paint - the color.public java.lang.String getPlotType()
getPlotType in class PiePlot
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||