| java.lang.Object org.jfree.chart.plot.Plot org.jfree.chart.plot.MultiplePiePlot
MultiplePiePlot | public MultiplePiePlot()(Code) | | Creates a new plot with no data.
|
MultiplePiePlot | public MultiplePiePlot(CategoryDataset dataset)(Code) | | Creates a new plot.
Parameters: dataset - the dataset (null permitted). |
draw | public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code) | | Draws the plot on a Java 2D graphics device (such as the screen or a
printer).
Parameters: g2 - the graphics device. Parameters: area - the area within which the plot should be drawn. Parameters: anchor - the anchor point (null permitted). Parameters: parentState - the state from the parent plot, if there is one. Parameters: info - collects info about the drawing. |
equals | public boolean equals(Object obj)(Code) | | Tests this plot for equality with an arbitrary object. Note that the
plot's dataset is not considered in the equality test.
Parameters: obj - the object (null permitted). true if this plot is equal to obj , andfalse otherwise. |
getAggregatedItemsKey | public Comparable getAggregatedItemsKey()(Code) | | Returns the key for aggregated items in the pie plots, if there are any.
The default value is "Other".
The aggregated items key. since: 1.0.2 |
getAggregatedItemsPaint | public Paint getAggregatedItemsPaint()(Code) | | Returns the paint used to draw the pie section representing the
aggregated items. The default value is Color.lightGray .
The paint. since: 1.0.2 |
getDataExtractOrder | public TableOrder getDataExtractOrder()(Code) | | Returns the data extract order (by row or by column).
The data extract order (never null ). |
getDataset | public CategoryDataset getDataset()(Code) | | Returns the dataset used by the plot.
The dataset (possibly null ). |
getLegendItems | public LegendItemCollection getLegendItems()(Code) | | Returns a collection of legend items for the pie chart.
The legend items. |
getLimit | public double getLimit()(Code) | | Returns the limit (as a percentage) below which small pie sections are
aggregated.
The limit percentage. |
getPlotType | public String getPlotType()(Code) | | Returns a short string describing the type of plot.
The plot type. |
setAggregatedItemsKey | public void setAggregatedItemsKey(Comparable key)(Code) | | Sets the key for aggregated items in the pie plots. You must ensure
that this doesn't clash with any keys in the dataset.
Parameters: key - the key (null not permitted). since: 1.0.2 |
setAggregatedItemsPaint | public void setAggregatedItemsPaint(Paint paint)(Code) | | Sets the paint used to draw the pie section representing the aggregated
items and sends a
PlotChangeEvent to all registered listeners.
Parameters: paint - the paint (null not permitted). since: 1.0.2 |
setDataExtractOrder | public void setDataExtractOrder(TableOrder order)(Code) | | Sets the data extract order (by row or by column) and sends a
PlotChangeEvent to all registered listeners.
Parameters: order - the order (null not permitted). |
setDataset | public void setDataset(CategoryDataset dataset)(Code) | | Sets the dataset used by the plot and sends a
PlotChangeEvent to all registered listeners.
Parameters: dataset - the dataset (null permitted). |
setLimit | public void setLimit(double limit)(Code) | | Sets the limit below which pie sections are aggregated.
Set this to 0.0 if you don't want any aggregation to occur.
Parameters: limit - the limit percent. |
setPieChart | public void setPieChart(JFreeChart pieChart)(Code) | | Sets the chart that is used to draw the individual pie plots. The
chart's plot must be an instance of
PiePlot .
Parameters: pieChart - the pie chart (null not permitted). See Also: MultiplePiePlot.getPieChart() |
Methods inherited from org.jfree.chart.plot.Plot | public void addChangeListener(PlotChangeListener listener)(Code)(Java Doc) public void axisChanged(AxisChangeEvent event)(Code)(Java Doc) public Object clone() throws CloneNotSupportedException(Code)(Java Doc) public void datasetChanged(DatasetChangeEvent event)(Code)(Java Doc) abstract public void draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info)(Code)(Java Doc) public void drawBackground(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) public void drawBackgroundImage(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) protected void drawNoDataMessage(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) public void drawOutline(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) protected void fillBackground(Graphics2D g2, Rectangle2D area)(Code)(Java Doc) protected void fillBackground(Graphics2D g2, Rectangle2D area, PlotOrientation orientation)(Code)(Java Doc) public float getBackgroundAlpha()(Code)(Java Doc) public Image getBackgroundImage()(Code)(Java Doc) public int getBackgroundImageAlignment()(Code)(Java Doc) public float getBackgroundImageAlpha()(Code)(Java Doc) public Paint getBackgroundPaint()(Code)(Java Doc) public DatasetGroup getDatasetGroup()(Code)(Java Doc) public DrawingSupplier getDrawingSupplier()(Code)(Java Doc) public float getForegroundAlpha()(Code)(Java Doc) public RectangleInsets getInsets()(Code)(Java Doc) public LegendItemCollection getLegendItems()(Code)(Java Doc) public String getNoDataMessage()(Code)(Java Doc) public Font getNoDataMessageFont()(Code)(Java Doc) public Paint getNoDataMessagePaint()(Code)(Java Doc) public Paint getOutlinePaint()(Code)(Java Doc) public Stroke getOutlineStroke()(Code)(Java Doc) public Plot getParent()(Code)(Java Doc) abstract public String getPlotType()(Code)(Java Doc) protected double getRectX(double x, double w1, double w2, RectangleEdge edge)(Code)(Java Doc) protected double getRectY(double y, double h1, double h2, RectangleEdge edge)(Code)(Java Doc) public Plot getRootPlot()(Code)(Java Doc) public void handleClick(int x, int y, PlotRenderingInfo info)(Code)(Java Doc) public boolean isOutlineVisible()(Code)(Java Doc) public boolean isSubplot()(Code)(Java Doc) public void markerChanged(MarkerChangeEvent event)(Code)(Java Doc) public void notifyListeners(PlotChangeEvent event)(Code)(Java Doc) public void removeChangeListener(PlotChangeListener listener)(Code)(Java Doc) public static RectangleEdge resolveDomainAxisLocation(AxisLocation location, PlotOrientation orientation)(Code)(Java Doc) public static RectangleEdge resolveRangeAxisLocation(AxisLocation location, PlotOrientation orientation)(Code)(Java Doc) public void setBackgroundAlpha(float alpha)(Code)(Java Doc) public void setBackgroundImage(Image image)(Code)(Java Doc) public void setBackgroundImageAlignment(int alignment)(Code)(Java Doc) public void setBackgroundImageAlpha(float alpha)(Code)(Java Doc) public void setBackgroundPaint(Paint paint)(Code)(Java Doc) protected void setDatasetGroup(DatasetGroup group)(Code)(Java Doc) public void setDrawingSupplier(DrawingSupplier supplier)(Code)(Java Doc) public void setForegroundAlpha(float alpha)(Code)(Java Doc) public void setInsets(RectangleInsets insets)(Code)(Java Doc) public void setInsets(RectangleInsets insets, boolean notify)(Code)(Java Doc) public void setNoDataMessage(String message)(Code)(Java Doc) public void setNoDataMessageFont(Font font)(Code)(Java Doc) public void setNoDataMessagePaint(Paint paint)(Code)(Java Doc) public void setOutlinePaint(Paint paint)(Code)(Java Doc) public void setOutlineStroke(Stroke stroke)(Code)(Java Doc) public void setOutlineVisible(boolean visible)(Code)(Java Doc) public void setParent(Plot parent)(Code)(Java Doc) public void zoom(double percent)(Code)(Java Doc)
|
|
|