Class CategoryItemRendererState

java.lang.Object
org.jfree.chart.renderer.RendererState
org.jfree.chart.renderer.CategoryItemRendererState

public class CategoryItemRendererState
extends RendererState
An object that retains temporary state information for a CategoryItemRenderer.
  • Constructor Details

    • CategoryItemRendererState

      public CategoryItemRendererState​(PlotRenderingInfo info)
      Creates a new object for recording temporary state information for a renderer.
      Parameters:
      info - the plot rendering info.
  • Method Details

    • getBarWidth

      public double getBarWidth()
      Returns the bar width.
      Returns:
      The bar width.
    • setBarWidth

      public void setBarWidth​(double width)
      Sets the bar width. The renderer calculates this value and stores it here - it is not intended that users can manually set the bar width.
      Parameters:
      width - the width.
    • getSeriesRunningTotal

      public double getSeriesRunningTotal()
      Returns the series running total.
      Returns:
      The running total.