org.jfree.chart.renderer.category
public class StatisticalBarRenderer extends BarRenderer implements CategoryItemRenderer, Cloneable, PublicCloneable, Serializable
Constructor Summary | |
---|---|
StatisticalBarRenderer()
Default constructor. |
Method Summary | |
---|---|
protected void | drawHorizontalItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, StatisticalCategoryDataset dataset, int row, int column)
Draws an item for a plot with a horizontal orientation.
|
void | drawItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset data, int row, int column, int pass)
Draws the bar with its standard deviation line range for a single
(series, category) data item.
|
protected void | drawVerticalItem(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, StatisticalCategoryDataset dataset, int row, int column)
Draws an item for a plot with a vertical orientation.
|
boolean | equals(Object obj)
Tests this renderer for equality with an arbitrary object.
|
Paint | getErrorIndicatorPaint()
Returns the paint used for the error indicators.
|
Stroke | getErrorIndicatorStroke()
Returns the stroke used to draw the error indicators. |
void | setErrorIndicatorPaint(Paint paint)
Sets the paint used for the error indicators (if null ,
the item outline paint is used instead) and sends a
RendererChangeEvent to all registered listeners.
|
void | setErrorIndicatorStroke(Stroke stroke)
Sets the stroke used to draw the error indicators, and sends a
RendererChangeEvent to all registered listeners. |
Parameters: g2 the graphics device. state the renderer state. dataArea the data area. plot the plot. domainAxis the domain axis. rangeAxis the range axis. dataset the data. row the row index (zero-based). column the column index (zero-based).
Parameters: g2 the graphics device. state the renderer state. dataArea the data area. plot the plot. domainAxis the domain axis. rangeAxis the range axis. data the data. row the row index (zero-based). column the column index (zero-based). pass the pass index.
Parameters: g2 the graphics device. state the renderer state. dataArea the data area. plot the plot. domainAxis the domain axis. rangeAxis the range axis. dataset the data. row the row index (zero-based). column the column index (zero-based).
Parameters: obj the object (null
permitted).
Returns: A boolean.
Returns: The paint used for the error indicators (possibly
null
).
See Also: setErrorIndicatorPaint
null
, the renderer will use the item outline stroke).
Returns: The stroke (possibly null
).
Since: 1.0.8
null
,
the item outline paint is used instead) and sends a
RendererChangeEvent to all registered listeners.
Parameters: paint the paint (null
permitted).
See Also: getErrorIndicatorPaint
null
, the renderer will use the item outline
stroke.
Parameters: stroke the stroke (null
permitted).
Since: 1.0.8