Class StatisticalBarRenderer

All Implemented Interfaces:
Serializable, Cloneable, CategoryItemRenderer, org.jfree.util.PublicCloneable

public class StatisticalBarRenderer
extends BarRenderer
implements CategoryItemRenderer, Cloneable, org.jfree.util.PublicCloneable, Serializable
A renderer that handles the drawing a bar plot where each bar has a mean value and a standard deviation line.
Author:
Pascal Collet
See Also:
Serialized Form
  • Constructor Details

    • StatisticalBarRenderer

      public StatisticalBarRenderer()
      Default constructor.
  • Method Details

    • drawItem

      public void drawItem​(Graphics2D g2, CategoryItemRendererState state, Rectangle2D dataArea, CategoryPlot plot, CategoryAxis domainAxis, ValueAxis rangeAxis, CategoryDataset data, int row, int column)
      Draws the bar with its standard deviation line range for a single (series, category) data item.
      Specified by:
      drawItem in interface CategoryItemRenderer
      Overrides:
      drawItem in class BarRenderer
      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).
    • getTTestShape

      public static Shape getTTestShape​(float x, float y, float width, float height)