| org.jfree.chart.renderer.xy.AbstractXYItemRenderer org.jfree.chart.renderer.xy.XYBoxAndWhiskerRenderer
Method Summary | |
public Object | clone() Returns a clone of the renderer. | protected void | drawEllipse(Point2D point, double oRadius, Graphics2D g2) Draws an ellipse to represent an outlier. | protected void | drawHighFarOut(double aRadius, Graphics2D g2, double xx, double m) Draws a triangle to indicate the presence of far out values. | public void | drawHorizontalItem(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item. | public void | drawItem(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item. | protected void | drawLowFarOut(double aRadius, Graphics2D g2, double xx, double m) Draws a triangle to indicate the presence of far out values. | protected void | drawMultipleEllipse(Point2D point, double boxWidth, double oRadius, Graphics2D g2) Draws two ellipses to represent overlapping outliers. | public void | drawVerticalItem(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass) Draws the visual representation of a single data item. | public boolean | equals(Object obj) Tests this renderer for equality with another object.
Parameters: obj - the object (null permitted). | public Paint | getArtifactPaint() Returns the paint used to paint the various artifacts such as outliers,
farout symbol, median line and the averages ellipse. | public Paint | getBoxPaint() Returns the paint used to fill boxes. | public double | getBoxWidth() Returns the width of each box. | public boolean | getFillBox() Returns the flag that controls whether or not the box is filled. | public void | setArtifactPaint(Paint paint) Sets the paint used to paint the various artifacts such as outliers,
farout symbol, median line and the averages ellipse. | public void | setBoxPaint(Paint paint) Sets the paint used to fill boxes and sends a
RendererChangeEvent to all registered listeners. | public void | setBoxWidth(double width) Sets the box width and sends a
RendererChangeEvent to all
registered listeners. | public void | setFillBox(boolean flag) Sets the flag that controls whether or not the box is filled and sends a
RendererChangeEvent to all registered listeners. |
XYBoxAndWhiskerRenderer | public XYBoxAndWhiskerRenderer()(Code) | | Creates a new renderer for box and whisker charts.
|
XYBoxAndWhiskerRenderer | public XYBoxAndWhiskerRenderer(double boxWidth)(Code) | | Creates a new renderer for box and whisker charts.
Use -1 for the box width if you prefer the width to be calculated
automatically.
Parameters: boxWidth - the box width. |
drawEllipse | protected void drawEllipse(Point2D point, double oRadius, Graphics2D g2)(Code) | | Draws an ellipse to represent an outlier.
Parameters: point - the location. Parameters: oRadius - the radius. Parameters: g2 - the graphics device. |
drawHighFarOut | protected void drawHighFarOut(double aRadius, Graphics2D g2, double xx, double m)(Code) | | Draws a triangle to indicate the presence of far out values.
Parameters: aRadius - the radius. Parameters: g2 - the graphics device. Parameters: xx - the x value. Parameters: m - the max y value. |
drawHorizontalItem | public void drawHorizontalItem(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)(Code) | | Draws the visual representation of a single data item.
Parameters: g2 - the graphics device. Parameters: dataArea - the area within which the plot is being drawn. Parameters: info - collects info about the drawing. Parameters: plot - the plot (can be used to obtain standard color information etc). Parameters: domainAxis - the domain axis. Parameters: rangeAxis - the range axis. Parameters: dataset - the dataset. Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). Parameters: crosshairState - crosshair information for the plot (null permitted). Parameters: pass - the pass index. |
drawItem | public void drawItem(Graphics2D g2, XYItemRendererState state, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)(Code) | | Draws the visual representation of a single data item.
Parameters: g2 - the graphics device. Parameters: state - the renderer state. Parameters: dataArea - the area within which the plot is being drawn. Parameters: info - collects info about the drawing. Parameters: plot - the plot (can be used to obtain standard color information etc). Parameters: domainAxis - the domain axis. Parameters: rangeAxis - the range axis. Parameters: dataset - the dataset. Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). Parameters: crosshairState - crosshair information for the plot (null permitted). Parameters: pass - the pass index. |
drawLowFarOut | protected void drawLowFarOut(double aRadius, Graphics2D g2, double xx, double m)(Code) | | Draws a triangle to indicate the presence of far out values.
Parameters: aRadius - the radius. Parameters: g2 - the graphics device. Parameters: xx - the x value. Parameters: m - the min y value. |
drawMultipleEllipse | protected void drawMultipleEllipse(Point2D point, double boxWidth, double oRadius, Graphics2D g2)(Code) | | Draws two ellipses to represent overlapping outliers.
Parameters: point - the location. Parameters: boxWidth - the box width. Parameters: oRadius - the radius. Parameters: g2 - the graphics device. |
drawVerticalItem | public void drawVerticalItem(Graphics2D g2, Rectangle2D dataArea, PlotRenderingInfo info, XYPlot plot, ValueAxis domainAxis, ValueAxis rangeAxis, XYDataset dataset, int series, int item, CrosshairState crosshairState, int pass)(Code) | | Draws the visual representation of a single data item.
Parameters: g2 - the graphics device. Parameters: dataArea - the area within which the plot is being drawn. Parameters: info - collects info about the drawing. Parameters: plot - the plot (can be used to obtain standard color information etc). Parameters: domainAxis - the domain axis. Parameters: rangeAxis - the range axis. Parameters: dataset - the dataset. Parameters: series - the series index (zero-based). Parameters: item - the item index (zero-based). Parameters: crosshairState - crosshair information for the plot (null permitted). Parameters: pass - the pass index. |
equals | public boolean equals(Object obj)(Code) | | Tests this renderer for equality with another object.
Parameters: obj - the object (null permitted). true or false . |
setArtifactPaint | public void setArtifactPaint(Paint paint)(Code) | | Sets the paint used to paint the various artifacts such as outliers,
farout symbol, median line and the averages ellipse.
Parameters: paint - the paint (null not permitted). See Also: XYBoxAndWhiskerRenderer.getArtifactPaint() |
setBoxWidth | public void setBoxWidth(double width)(Code) | | Sets the box width and sends a
RendererChangeEvent to all
registered listeners.
If you set the width to a negative value, the renderer will calculate
the box width automatically based on the space available on the chart.
Parameters: width - the width. See Also: XYBoxAndWhiskerRenderer.getBoxWidth() |
Methods inherited from org.jfree.chart.renderer.xy.AbstractXYItemRenderer | public void addAnnotation(XYAnnotation annotation)(Code)(Java Doc) public void addAnnotation(XYAnnotation annotation, Layer layer)(Code)(Java Doc) protected void addEntity(EntityCollection entities, Shape area, XYDataset dataset, int series, int item, double entityX, double entityY)(Code)(Java Doc) protected Point2D calculateDomainMarkerTextAnchorPoint(Graphics2D g2, PlotOrientation orientation, Rectangle2D dataArea, Rectangle2D markerArea, RectangleInsets markerOffset, LengthAdjustmentType labelOffsetType, RectangleAnchor anchor)(Code)(Java Doc) protected Object clone() throws CloneNotSupportedException(Code)(Java Doc) public void drawAnnotations(Graphics2D g2, Rectangle2D dataArea, ValueAxis domainAxis, ValueAxis rangeAxis, Layer layer, PlotRenderingInfo info)(Code)(Java Doc) public void drawDomainGridLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value)(Code)(Java Doc) public void drawDomainLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke)(Code)(Java Doc) public void drawDomainMarker(Graphics2D g2, XYPlot plot, ValueAxis domainAxis, Marker marker, Rectangle2D dataArea)(Code)(Java Doc) protected void drawItemLabel(Graphics2D g2, PlotOrientation orientation, XYDataset dataset, int series, int item, double x, double y, boolean negative)(Code)(Java Doc) public void drawRangeLine(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double value, Paint paint, Stroke stroke)(Code)(Java Doc) public void drawRangeMarker(Graphics2D g2, XYPlot plot, ValueAxis rangeAxis, Marker marker, Rectangle2D dataArea)(Code)(Java Doc) public boolean equals(Object obj)(Code)(Java Doc) public void fillDomainGridBand(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)(Code)(Java Doc) public void fillRangeGridBand(Graphics2D g2, XYPlot plot, ValueAxis axis, Rectangle2D dataArea, double start, double end)(Code)(Java Doc) public Range findDomainBounds(XYDataset dataset)(Code)(Java Doc) public Range findRangeBounds(XYDataset dataset)(Code)(Java Doc) public XYItemLabelGenerator getBaseItemLabelGenerator()(Code)(Java Doc) public XYToolTipGenerator getBaseToolTipGenerator()(Code)(Java Doc) public int getDefaultEntityRadius()(Code)(Java Doc) public DrawingSupplier getDrawingSupplier()(Code)(Java Doc) public XYItemLabelGenerator getItemLabelGenerator(int series, int item)(Code)(Java Doc) public XYItemLabelGenerator getItemLabelGenerator()(Code)(Java Doc) public LegendItem getLegendItem(int datasetIndex, int series)(Code)(Java Doc) public XYSeriesLabelGenerator getLegendItemLabelGenerator()(Code)(Java Doc) public XYSeriesLabelGenerator getLegendItemToolTipGenerator()(Code)(Java Doc) public XYSeriesLabelGenerator getLegendItemURLGenerator()(Code)(Java Doc) public LegendItemCollection getLegendItems()(Code)(Java Doc) public int getPassCount()(Code)(Java Doc) public XYPlot getPlot()(Code)(Java Doc) public XYItemLabelGenerator getSeriesItemLabelGenerator(int series)(Code)(Java Doc) public XYToolTipGenerator getSeriesToolTipGenerator(int series)(Code)(Java Doc) public XYToolTipGenerator getToolTipGenerator(int series, int item)(Code)(Java Doc) public XYToolTipGenerator getToolTipGenerator()(Code)(Java Doc) public XYURLGenerator getURLGenerator()(Code)(Java Doc) public XYItemRendererState initialise(Graphics2D g2, Rectangle2D dataArea, XYPlot plot, XYDataset data, PlotRenderingInfo info)(Code)(Java Doc) public boolean removeAnnotation(XYAnnotation annotation)(Code)(Java Doc) public void removeAnnotations()(Code)(Java Doc) public void setBaseItemLabelGenerator(XYItemLabelGenerator generator)(Code)(Java Doc) public void setBaseToolTipGenerator(XYToolTipGenerator generator)(Code)(Java Doc) public void setDefaultEntityRadius(int radius)(Code)(Java Doc) public void setItemLabelGenerator(XYItemLabelGenerator generator)(Code)(Java Doc) public void setLegendItemLabelGenerator(XYSeriesLabelGenerator generator)(Code)(Java Doc) public void setLegendItemToolTipGenerator(XYSeriesLabelGenerator generator)(Code)(Java Doc) public void setLegendItemURLGenerator(XYSeriesLabelGenerator generator)(Code)(Java Doc) public void setPlot(XYPlot plot)(Code)(Java Doc) public void setSeriesItemLabelGenerator(int series, XYItemLabelGenerator generator)(Code)(Java Doc) public void setSeriesToolTipGenerator(int series, XYToolTipGenerator generator)(Code)(Java Doc) public void setToolTipGenerator(XYToolTipGenerator generator)(Code)(Java Doc) public void setURLGenerator(XYURLGenerator urlGenerator)(Code)(Java Doc) protected void updateCrosshairValues(CrosshairState crosshairState, double x, double y, double transX, double transY, PlotOrientation orientation)(Code)(Java Doc) protected void updateCrosshairValues(CrosshairState crosshairState, double x, double y, int domainAxisIndex, int rangeAxisIndex, double transX, double transY, PlotOrientation orientation)(Code)(Java Doc)
|
|
|