Package | Description |
---|---|
org.jfree.chart.plot |
Plot classes and related interfaces.
|
Modifier and Type | Method and Description |
---|---|
PiePlotState |
RingPlot.initialise(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
PiePlot plot,
java.lang.Integer index,
PlotRenderingInfo info)
Initialises the plot state (which will store the total of all dataset
values, among other things).
|
PiePlotState |
PiePlot.initialise(java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
PiePlot plot,
java.lang.Integer index,
PlotRenderingInfo info)
Initialises the drawing procedure.
|
Modifier and Type | Method and Description |
---|---|
protected void |
RingPlot.drawItem(java.awt.Graphics2D g2,
int section,
java.awt.geom.Rectangle2D dataArea,
PiePlotState state,
int currentPass)
Draws a single data item.
|
protected void |
PiePlot.drawItem(java.awt.Graphics2D g2,
int section,
java.awt.geom.Rectangle2D dataArea,
PiePlotState state,
int currentPass)
Draws a single data item.
|
protected void |
PiePlot.drawLabels(java.awt.Graphics2D g2,
java.util.List keys,
double totalValue,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D linkArea,
PiePlotState state)
Draws the labels for the pie sections.
|
protected void |
PiePlot.drawLeftLabel(java.awt.Graphics2D g2,
PiePlotState state,
PieLabelRecord record)
Draws a section label on the left side of the pie chart.
|
protected void |
PiePlot.drawLeftLabels(KeyedValues leftKeys,
java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D linkArea,
float maxLabelWidth,
PiePlotState state)
Draws the left labels.
|
protected void |
PiePlot.drawRightLabel(java.awt.Graphics2D g2,
PiePlotState state,
PieLabelRecord record)
Draws a section label on the right side of the pie chart.
|
protected void |
PiePlot.drawRightLabels(KeyedValues keys,
java.awt.Graphics2D g2,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D linkArea,
float maxLabelWidth,
PiePlotState state)
Draws the right labels.
|
protected void |
PiePlot.drawSimpleLabels(java.awt.Graphics2D g2,
java.util.List keys,
double totalValue,
java.awt.geom.Rectangle2D plotArea,
java.awt.geom.Rectangle2D pieArea,
PiePlotState state)
Draws the pie section labels in the simple form.
|
protected java.awt.geom.Point2D |
PiePlot.getArcCenter(PiePlotState state,
java.lang.Comparable key)
Returns the center for the specified section.
|
protected java.awt.Paint |
PiePlot.lookupSectionPaint(java.lang.Comparable key,
PiePlotState state)
Returns the paint for the specified section.
|