Java org.jfree.chart.plot PiePlot fields, constructors, methods, implement or subclass

Example usage for Java org.jfree.chart.plot PiePlot fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.jfree.chart.plot PiePlot.

The text is from its open source code.

Subclass

org.jfree.chart.plot.PiePlot has subclasses.
Click this link to see all its subclasses.

Field

FontDEFAULT_LABEL_FONT
The default section label font.

Constructor

PiePlot(PieDataset dataset)
Creates a plot that will draw a pie chart for the specified dataset.
PiePlot()
Creates a new plot.

Method

PieDatasetgetDataset()
Returns the dataset.
DrawingSuppliergetDrawingSupplier()
Returns the drawing supplier for the plot.
FontgetLabelFont()
Returns the section label font.
PieSectionLabelGeneratorgetLabelGenerator()
Returns the section label generator.
PaintgetSectionPaint(Comparable key)
Returns the paint associated with the specified key, or null if there is no paint associated with the key.
PaintgetSectionPaint(int section)
Returns the paint for the specified section.
doublegetStartAngle()
Returns the start angle for the first pie section.
PieToolTipGeneratorgetToolTipGenerator()
Returns the tool tip generator, an object that is responsible for generating the text items used for tool tips by the plot.
voidhandleMouseWheelRotation(int rotateClicks)
Handles a mouse wheel rotation (this method is intended for use by the MouseWheelHandler class).
voidsetBackgroundAlpha(float alpha)
Sets the alpha transparency of the plot area background, and notifies registered listeners that the plot has been modified.
voidsetBackgroundImage(Image image)
Sets the background image for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetBackgroundImageAlpha(float alpha)
Sets the alpha transparency used when drawing the background image.
voidsetBackgroundPaint(Paint paint)
Sets the background color of the plot area and sends a PlotChangeEvent to all registered listeners.
voidsetBaseSectionOutlinePaint(Paint paint)
Sets the base section paint.
voidsetBaseSectionOutlineStroke(Stroke stroke)
Sets the base section stroke.
voidsetBaseSectionPaint(Paint paint)
Sets the base section paint and sends a PlotChangeEvent to all registered listeners.
voidsetCircular(boolean flag)
A flag indicating whether the pie chart is circular, or stretched into an elliptical shape.
voidsetDataset(PieDataset dataset)
Sets the dataset and sends a DatasetChangeEvent to 'this'.
voidsetDirection(Rotation direction)
Sets the direction in which the pie sections are drawn and sends a PlotChangeEvent to all registered listeners.
voidsetDrawingSupplier(DrawingSupplier supplier)
Sets the drawing supplier for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetExplodePercent(Comparable key, double percent)
Sets the amount that a pie section should be exploded and sends a PlotChangeEvent to all registered listeners.
voidsetExplodePercent(int section, double percent)
Sets the amount that a pie section should be exploded and sends a PlotChangeEvent to all registered listeners.
voidsetForegroundAlpha(float alpha)
Sets the alpha-transparency for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetIgnoreNullValues(boolean flag)
Sets a flag that controls whether null values are ignored, and sends a PlotChangeEvent to all registered listeners.
voidsetIgnoreZeroValues(boolean flag)
Sets a flag that controls whether zero values are ignored, and sends a PlotChangeEvent to all registered listeners.
voidsetInsets(RectangleInsets insets)
Sets the insets for the plot and sends a PlotChangeEvent to all registered listeners.
voidsetInteriorGap(double percent)
Sets the interior gap and sends a PlotChangeEvent to all registered listeners.
voidsetLabelBackgroundPaint(Paint paint)
Sets the section label background paint and sends a PlotChangeEvent to all registered listeners.
voidsetLabelFont(Font font)
Sets the section label font and sends a PlotChangeEvent to all registered listeners.
voidsetLabelGap(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.
voidsetLabelGenerator(PieSectionLabelGenerator generator)
Sets the section label generator and sends a PlotChangeEvent to all registered listeners.
voidsetLabelLinkMargin(double margin)
Sets the link margin and sends a PlotChangeEvent to all registered listeners.
voidsetLabelLinkPaint(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.
voidsetLabelLinkStroke(Stroke stroke)
Sets the link stroke and sends a PlotChangeEvent to all registered listeners.
voidsetLabelLinkStyle(PieLabelLinkStyle style)
Sets the label link style and sends a PlotChangeEvent to all registered listeners.
voidsetLabelLinksVisible(boolean visible)
Sets the flag that controls whether or not label linking lines are visible and sends a PlotChangeEvent to all registered listeners.
voidsetLabelOutlinePaint(Paint paint)
Sets the section label outline paint and sends a PlotChangeEvent to all registered listeners.
voidsetLabelOutlineStroke(Stroke stroke)
Sets the section label outline stroke and sends a PlotChangeEvent to all registered listeners.
voidsetLabelPadding(RectangleInsets padding)
Sets the padding between each label and its outline and sends a PlotChangeEvent to all registered listeners.
voidsetLabelPaint(Paint paint)
Sets the section label paint and sends a PlotChangeEvent to all registered listeners.
voidsetLabelShadowPaint(Paint paint)
Sets the section label shadow paint and sends a PlotChangeEvent to all registered listeners.
voidsetLegendItemShape(Shape shape)
Sets the shape used for legend items and sends a PlotChangeEvent to all registered listeners.
voidsetLegendLabelGenerator(PieSectionLabelGenerator generator)
Sets the legend label generator and sends a PlotChangeEvent to all registered listeners.
voidsetLegendLabelToolTipGenerator(PieSectionLabelGenerator generator)
Sets the legend label tool tip generator and sends a PlotChangeEvent to all registered listeners.
voidsetMaximumLabelWidth(double width)
Sets the maximum label width as a percentage of the plot width and sends a PlotChangeEvent to all registered listeners.
voidsetNoDataMessage(String message)
Sets the message that is displayed when the dataset is empty or null, and sends a PlotChangeEvent to all registered listeners.
voidsetNoDataMessageFont(Font font)
Sets the font used to display the 'no data' message and sends a PlotChangeEvent to all registered listeners.
voidsetNoDataMessagePaint(Paint paint)
Sets the paint used to display the 'no data' message and sends a PlotChangeEvent to all registered listeners.
voidsetOutlinePaint(Paint paint)
Sets the paint used to draw the outline of the plot area and sends a PlotChangeEvent to all registered listeners.
voidsetOutlineStroke(Stroke stroke)
Sets the stroke used to outline the plot area and sends a PlotChangeEvent to all registered listeners.
voidsetOutlineVisible(boolean visible)
Sets the flag that controls whether or not the plot's outline is drawn, and sends a PlotChangeEvent to all registered listeners.
voidsetSectionOutlinePaint(Comparable key, Paint paint)
Sets the outline paint associated with the specified key, and sends a PlotChangeEvent to all registered listeners.
voidsetSectionOutlinePaint(int section, Paint paint)
Sets the paint used to fill a section of the pie and sends a PlotChangeEvent to all registered listeners.
voidsetSectionOutlineStroke(Comparable key, Stroke stroke)
Sets the outline stroke associated with the specified key, and sends a PlotChangeEvent to all registered listeners.
voidsetSectionOutlineStroke(int section, Stroke stroke)
Sets the stroke used to fill a section of the pie and sends a PlotChangeEvent to all registered listeners.
voidsetSectionOutlinesVisible(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.
voidsetSectionPaint(Comparable key, Paint paint)
Sets the paint associated with the specified key, and sends a PlotChangeEvent to all registered listeners.
voidsetSectionPaint(int section, Paint paint)
Sets the paint used to fill a section of the pie and sends a PlotChangeEvent to all registered listeners.
voidsetShadowPaint(Paint paint)
Sets the shadow paint and sends a PlotChangeEvent to all registered listeners.
voidsetShadowXOffset(double offset)
Sets the x-offset for the shadow effect and sends a PlotChangeEvent to all registered listeners.
voidsetShadowYOffset(double offset)
Sets the y-offset for the shadow effect and sends a PlotChangeEvent to all registered listeners.
voidsetSimpleLabels(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.
voidsetStartAngle(double angle)
Sets the starting angle and sends a PlotChangeEvent to all registered listeners.
voidsetToolTipGenerator(PieToolTipGenerator generator)
Sets the tool tip generator and sends a PlotChangeEvent to all registered listeners.
voidsetURLGenerator(PieURLGenerator generator)
Sets the URL generator and sends a PlotChangeEvent to all registered listeners.