A renderer state.
getLatestAngle
public double getLatestAngle()
Returns the latest angle.
getLinkArea
public Rectangle2D getLinkArea()
Returns the link area. This defines the "dog-leg" point for the label
linking lines.
getPassesRequired
public int getPassesRequired()
Returns the number of passes required by the renderer.
getPieArea
public Rectangle2D getPieArea()
Returns the pie area.
getPieCenterX
public double getPieCenterX()
Returns the x-coordinate of the center of the pie chart.
- The x-coordinate (in Java2D space).
getPieCenterY
public double getPieCenterY()
Returns the y-coordinate (in Java2D space) of the center of the pie
chart. For the
PiePlot3D
class, we derive this from the top of
the pie.
- The y-coordinate (in Java2D space).
getPieHRadius
public double getPieHRadius()
Returns the vertical pie radius.
getPieWRadius
public double getPieWRadius()
Returns the horizontal pie radius.
getTotal
public double getTotal()
Returns the total of the values in the dataset.
setExplodedPieArea
public void setExplodedPieArea(Rectangle2D area)
Sets the exploded pie area.
setLatestAngle
public void setLatestAngle(double angle)
Sets the latest angle.
setLinkArea
public void setLinkArea(Rectangle2D area)
Sets the label link area. This defines the "dog-leg" point for the
label linking lines.
setPassesRequired
public void setPassesRequired(int passes)
Sets the number of passes required by the renderer.
setPieArea
public void setPieArea(Rectangle2D area)
Sets the pie area.
setPieCenterX
public void setPieCenterX(double x)
Sets the x-coordinate of the center of the pie chart.
x
- the x-coordinate (in Java2D space).
setPieCenterY
public void setPieCenterY(double y)
Sets the y-coordinate of the center of the pie chart. This method is
used by the plot and typically is not called directly by applications.
y
- the y-coordinate (in Java2D space).
setPieHRadius
public void setPieHRadius(double radius)
Sets the vertical pie radius.
setPieWRadius
public void setPieWRadius(double radius)
Sets the horizontal pie radius.
setTotal
public void setTotal(double total)
Sets the total.