Example usage for Java org.jfree.chart.plot PiePlot fields, constructors, methods, implement or subclass
The text is from its open source code.
Font | DEFAULT_LABEL_FONT The default section label font. |
PiePlot(PieDataset dataset) Creates a plot that will draw a pie chart for the specified dataset. | |
PiePlot() Creates a new plot. |
PieDataset | getDataset() Returns the dataset. |
DrawingSupplier | getDrawingSupplier() Returns the drawing supplier for the plot. |
Font | getLabelFont() Returns the section label font. |
PieSectionLabelGenerator | getLabelGenerator() Returns the section label generator. |
Paint | getSectionPaint(Comparable key) Returns the paint associated with the specified key, or null if there is no paint associated with the key. |
Paint | getSectionPaint(int section) Returns the paint for the specified section. |
double | getStartAngle() Returns the start angle for the first pie section. |
PieToolTipGenerator | getToolTipGenerator() Returns the tool tip generator, an object that is responsible for generating the text items used for tool tips by the plot. |
void | handleMouseWheelRotation(int rotateClicks) Handles a mouse wheel rotation (this method is intended for use by the MouseWheelHandler class). |
void | setBackgroundAlpha(float alpha) Sets the alpha transparency of the plot area background, and notifies registered listeners that the plot has been modified. |
void | setBackgroundImage(Image image) Sets the background image for the plot and sends a PlotChangeEvent to all registered listeners. |
void | setBackgroundImageAlpha(float alpha) Sets the alpha transparency used when drawing the background image. |
void | setBackgroundPaint(Paint paint) Sets the background color of the plot area and sends a PlotChangeEvent to all registered listeners. |
void | setBaseSectionOutlinePaint(Paint paint) Sets the base section paint. |
void | setBaseSectionOutlineStroke(Stroke stroke) Sets the base section stroke. |
void | setBaseSectionPaint(Paint paint) Sets the base section paint and sends a PlotChangeEvent to all registered listeners. |
void | setCircular(boolean flag) A flag indicating whether the pie chart is circular, or stretched into an elliptical shape. |
void | setDataset(PieDataset dataset) Sets the dataset and sends a DatasetChangeEvent to 'this'. |
void | setDirection(Rotation direction) Sets the direction in which the pie sections are drawn and sends a PlotChangeEvent to all registered listeners. |
void | setDrawingSupplier(DrawingSupplier supplier) Sets the drawing supplier for the plot and sends a PlotChangeEvent to all registered listeners. |
void | setExplodePercent(Comparable key, double percent) Sets the amount that a pie section should be exploded and sends a PlotChangeEvent to all registered listeners. |
void | setExplodePercent(int section, double percent) Sets the amount that a pie section should be exploded and sends a PlotChangeEvent to all registered listeners. |
void | setForegroundAlpha(float alpha) Sets the alpha-transparency for the plot and sends a PlotChangeEvent to all registered listeners. |
void | setIgnoreNullValues(boolean flag) Sets a flag that controls whether null values are ignored, and sends a PlotChangeEvent to all registered listeners. |
void | setIgnoreZeroValues(boolean flag) Sets a flag that controls whether zero values are ignored, and sends a PlotChangeEvent to all registered listeners. |
void | setInsets(RectangleInsets insets) Sets the insets for the plot and sends a PlotChangeEvent to all registered listeners. |
void | setInteriorGap(double percent) Sets the interior gap and sends a PlotChangeEvent to all registered listeners. |
void | setLabelBackgroundPaint(Paint paint) Sets the section label background paint and sends a PlotChangeEvent to all registered listeners. |
void | setLabelFont(Font font) Sets the section label font and sends a PlotChangeEvent to all registered listeners. |
void | setLabelGap(double gap) Sets the gap between the edge of the pie and the labels (expressed as a percentage of the plot width) and sends a PlotChangeEvent to all registered listeners. |
void | setLabelGenerator(PieSectionLabelGenerator generator) Sets the section label generator and sends a PlotChangeEvent to all registered listeners. |
void | setLabelLinkMargin(double margin) Sets the link margin and sends a PlotChangeEvent to all registered listeners. |
void | setLabelLinkPaint(Paint paint) Sets the paint used for the lines that connect pie sections to their corresponding labels, and sends a PlotChangeEvent to all registered listeners. |
void | setLabelLinkStroke(Stroke stroke) Sets the link stroke and sends a PlotChangeEvent to all registered listeners. |
void | setLabelLinkStyle(PieLabelLinkStyle style) Sets the label link style and sends a PlotChangeEvent to all registered listeners. |
void | setLabelLinksVisible(boolean visible) Sets the flag that controls whether or not label linking lines are visible and sends a PlotChangeEvent to all registered listeners. |
void | setLabelOutlinePaint(Paint paint) Sets the section label outline paint and sends a PlotChangeEvent to all registered listeners. |
void | setLabelOutlineStroke(Stroke stroke) Sets the section label outline stroke and sends a PlotChangeEvent to all registered listeners. |
void | setLabelPadding(RectangleInsets padding) Sets the padding between each label and its outline and sends a PlotChangeEvent to all registered listeners. |
void | setLabelPaint(Paint paint) Sets the section label paint and sends a PlotChangeEvent to all registered listeners. |
void | setLabelShadowPaint(Paint paint) Sets the section label shadow paint and sends a PlotChangeEvent to all registered listeners. |
void | setLegendItemShape(Shape shape) Sets the shape used for legend items and sends a PlotChangeEvent to all registered listeners. |
void | setLegendLabelGenerator(PieSectionLabelGenerator generator) Sets the legend label generator and sends a PlotChangeEvent to all registered listeners. |
void | setLegendLabelToolTipGenerator(PieSectionLabelGenerator generator) Sets the legend label tool tip generator and sends a PlotChangeEvent to all registered listeners. |
void | setMaximumLabelWidth(double width) Sets the maximum label width as a percentage of the plot width and sends a PlotChangeEvent to all registered listeners. |
void | setNoDataMessage(String message) Sets the message that is displayed when the dataset is empty or null , and sends a PlotChangeEvent to all registered listeners. |
void | setNoDataMessageFont(Font font) Sets the font used to display the 'no data' message and sends a PlotChangeEvent to all registered listeners. |
void | setNoDataMessagePaint(Paint paint) Sets the paint used to display the 'no data' message and sends a PlotChangeEvent to all registered listeners. |
void | setOutlinePaint(Paint paint) Sets the paint used to draw the outline of the plot area and sends a PlotChangeEvent to all registered listeners. |
void | setOutlineStroke(Stroke stroke) Sets the stroke used to outline the plot area and sends a PlotChangeEvent to all registered listeners. |
void | setOutlineVisible(boolean visible) Sets the flag that controls whether or not the plot's outline is drawn, and sends a PlotChangeEvent to all registered listeners. |
void | setSectionOutlinePaint(Comparable key, Paint paint) Sets the outline paint associated with the specified key, and sends a PlotChangeEvent to all registered listeners. |
void | setSectionOutlinePaint(int section, Paint paint) Sets the paint used to fill a section of the pie and sends a PlotChangeEvent to all registered listeners. |
void | setSectionOutlineStroke(Comparable key, Stroke stroke) Sets the outline stroke associated with the specified key, and sends a PlotChangeEvent to all registered listeners. |
void | setSectionOutlineStroke(int section, Stroke stroke) Sets the stroke used to fill a section of the pie and sends a PlotChangeEvent to all registered listeners. |
void | setSectionOutlinesVisible(boolean visible) Sets the flag that controls whether or not the outline is drawn for each pie section, and sends a PlotChangeEvent to all registered listeners. |
void | setSectionPaint(Comparable key, Paint paint) Sets the paint associated with the specified key, and sends a PlotChangeEvent to all registered listeners. |
void | setSectionPaint(int section, Paint paint) Sets the paint used to fill a section of the pie and sends a PlotChangeEvent to all registered listeners. |
void | setShadowPaint(Paint paint) Sets the shadow paint and sends a PlotChangeEvent to all registered listeners. |
void | setShadowXOffset(double offset) Sets the x-offset for the shadow effect and sends a PlotChangeEvent to all registered listeners. |
void | setShadowYOffset(double offset) Sets the y-offset for the shadow effect and sends a PlotChangeEvent to all registered listeners. |
void | setSimpleLabels(boolean simple) Sets the flag that controls whether simple or extended labels are displayed on the plot, and sends a PlotChangeEvent to all registered listeners. |
void | setStartAngle(double angle) Sets the starting angle and sends a PlotChangeEvent to all registered listeners. |
void | setToolTipGenerator(PieToolTipGenerator generator) Sets the tool tip generator and sends a PlotChangeEvent to all registered listeners. |
void | setURLGenerator(PieURLGenerator generator) Sets the URL generator and sends a PlotChangeEvent to all registered listeners. |