Class StackedBarRenderer

All Implemented Interfaces:
Serializable, Cloneable, LegendItemSource, CategoryItemRenderer, PublicCloneable
Direct Known Subclasses:

public class StackedBarRenderer
extends BarRenderer
implements Cloneable, PublicCloneable, Serializable
A stacked bar renderer for use with the CategoryPlot class. The example shown here is generated by the program included in the JFreeChart Demo Collection:

See Also:
Serialized Form
  • Constructor Details

    • StackedBarRenderer

      Creates a new renderer. By default, the renderer has no tool tip generator and no URL generator. These defaults have been chosen to minimise the processing required to generate a default chart. If you require tool tips or URLs, then you can easily add the required generators.
    • StackedBarRenderer

      public StackedBarRenderer​(boolean renderAsPercentages)
      Creates a new renderer.
      renderAsPercentages - a flag that controls whether the data values are rendered as percentages.
  • Method Details