Method Summary |
|
protected Point2D | calculateLabelLocation(Rectangle2D labelBounds, double ascent, Rectangle2D plotArea, double startAngle) Returns the location for a label
Parameters: labelBounds - the label bounds. Parameters: ascent - the ascent (height of font). Parameters: plotArea - the plot area Parameters: startAngle - the start angle for the pie series. |
public Object | clone() Returns a clone of this plot. |
public void | draw(Graphics2D g2, Rectangle2D area, Point2D anchor, PlotState parentState, PlotRenderingInfo info) Draws the plot on a Java 2D graphics device (such as the screen or a
printer). |
protected void | drawLabel(Graphics2D g2, Rectangle2D plotArea, double value, int cat, double startAngle, double extent) Draws the label for one axis. |
protected void | drawRadarPoly(Graphics2D g2, Rectangle2D plotArea, Point2D centre, PlotRenderingInfo info, int series, int catCount, double headH, double headW) Draws a radar plot polygon. |
public boolean | equals(Object obj) Tests this plot for equality with an arbitrary object.
Parameters: obj - the object (null permitted). |
public double | getAxisLabelGap() Returns the axis label gap. |
public Paint | getAxisLinePaint() Returns the paint used to draw the axis lines. |
public Stroke | getAxisLineStroke() Returns the stroke used to draw the axis lines. |
public Paint | getBaseSeriesOutlinePaint() Returns the base series paint. |
public Stroke | getBaseSeriesOutlineStroke() Returns the base series stroke. |
public Paint | getBaseSeriesPaint() Returns the base series paint. |
public TableOrder | getDataExtractOrder() Returns the data extract order (by row or by column). |
public CategoryDataset | getDataset() Returns the dataset. |
public Rotation | getDirection() Returns the direction in which the radar axes are drawn
(clockwise or anti-clockwise). |
public double | getHeadPercent() Returns the head percent. |
public double | getInteriorGap() Returns the interior gap, measured as a percentage of the available
drawing space. |
public Font | getLabelFont() Returns the series label font. |
public CategoryItemLabelGenerator | getLabelGenerator() Returns the label generator. |
public Paint | getLabelPaint() Returns the series label paint. |
public Shape | getLegendItemShape() Returns the shape used for legend items. |
public LegendItemCollection | getLegendItems() Returns a collection of legend items for the radar chart. |
public double | getMaxValue() Returns the maximum value any category axis can take. |
public String | getPlotType() Returns a short string describing the type of plot. |
protected Number | getPlotValue(int series, int cat) Returns the value to be plotted at the interseries of the
series and the category. |
public Paint | getSeriesOutlinePaint() Returns the outline paint for ALL series in the plot. |
public Paint | getSeriesOutlinePaint(int series) Returns the paint for the specified series.
Parameters: series - the series index (zero-based). |
public Stroke | getSeriesOutlineStroke() Returns the outline stroke for ALL series in the plot. |
public Stroke | getSeriesOutlineStroke(int series) Returns the stroke for the specified series.
Parameters: series - the series index (zero-based). |
public Paint | getSeriesPaint() Returns the paint for ALL series in the plot. |
public Paint | getSeriesPaint(int series) Returns the paint for the specified series.
Parameters: series - the series index (zero-based). |
public double | getStartAngle() Returns the start angle for the first radar axis. |
public CategoryToolTipGenerator | getToolTipGenerator() Returns the tool tip generator for the plot. |
public CategoryURLGenerator | getURLGenerator() Returns the URL generator for the plot. |
protected Point2D | getWebPoint(Rectangle2D bounds, double angle, double length) Returns a cartesian point from a polar angle, length and bounding box
Parameters: bounds - the area inside which the point needs to be. Parameters: angle - the polar angle, in degrees. Parameters: length - the relative length. |
public boolean | isWebFilled() Method to determine if the web chart is to be filled. |
public void | setAxisLabelGap(double gap) Sets the axis label gap and sends a
PlotChangeEvent to all
registered listeners. |
public void | setAxisLinePaint(Paint paint) Sets the paint used to draw the axis lines and sends a
PlotChangeEvent to all registered listeners. |
public void | setAxisLineStroke(Stroke stroke) Sets the stroke used to draw the axis lines and sends a
PlotChangeEvent to all registered listeners. |
public void | setBaseSeriesOutlinePaint(Paint paint) Sets the base series paint. |
public void | setBaseSeriesOutlineStroke(Stroke stroke) Sets the base series stroke. |
public void | setBaseSeriesPaint(Paint paint) Sets the base series paint. |
public void | setDataExtractOrder(TableOrder order) Sets the data extract order (by row or by column) and sends a
PlotChangeEvent to all registered listeners. |
public void | setDataset(CategoryDataset dataset) Sets the dataset used by the plot and sends a
PlotChangeEvent to all registered listeners. |
public void | setDirection(Rotation direction) Sets the direction in which the radar axes are drawn and sends a
PlotChangeEvent to all registered listeners. |
public void | setHeadPercent(double percent) Sets the head percent and sends a
PlotChangeEvent to all
registered listeners. |
public void | setInteriorGap(double percent) Sets the interior gap and sends a
PlotChangeEvent to all
registered listeners. |
public void | setLabelFont(Font font) Sets the series label font and sends a
PlotChangeEvent to all
registered listeners. |
public void | setLabelGenerator(CategoryItemLabelGenerator generator) Sets the label generator and sends a
PlotChangeEvent to all
registered listeners. |
public void | setLabelPaint(Paint paint) Sets the series label paint and sends a
PlotChangeEvent to all
registered listeners. |
public void | setLegendItemShape(Shape shape) Sets the shape used for legend items and sends a
PlotChangeEvent
to all registered listeners. |
public void | setMaxValue(double value) Sets the maximum value any category axis can take and sends
a
PlotChangeEvent to all registered listeners. |
public void | setSeriesOutlinePaint(Paint paint) Sets the outline paint for ALL series in the plot. |
public void | setSeriesOutlinePaint(int series, Paint paint) Sets the paint used to fill a series of the radar and sends a
PlotChangeEvent to all registered listeners. |
public void | setSeriesOutlineStroke(Stroke stroke) Sets the outline stroke for ALL series in the plot. |
public void | setSeriesOutlineStroke(int series, Stroke stroke) Sets the stroke used to fill a series of the radar and sends a
PlotChangeEvent to all registered listeners. |
public void | setSeriesPaint(Paint paint) Sets the paint for ALL series in the plot. |
public void | setSeriesPaint(int series, Paint paint) Sets the paint used to fill a series of the radar and sends a
PlotChangeEvent to all registered listeners. |
public void | setStartAngle(double angle) Sets the starting angle and sends a
PlotChangeEvent to all
registered listeners.
The initial default value is 90 degrees, which corresponds to 12 o'clock.
A value of zero corresponds to 3 o'clock... |
public void | setToolTipGenerator(CategoryToolTipGenerator generator) Sets the tool tip generator for the plot and sends a
PlotChangeEvent to all registered listeners. |
public void | setURLGenerator(CategoryURLGenerator generator) Sets the URL generator for the plot and sends a
PlotChangeEvent to all registered listeners. |
public void | setWebFilled(boolean flag) Sets the webFilled flag and sends a
PlotChangeEvent to all
registered listeners. |