Class StackedXYBarRenderer

All Implemented Interfaces:
Serializable, Cloneable, EventListener, AnnotationChangeListener, LegendItemSource, XYItemRenderer, PublicCloneable

public class StackedXYBarRenderer extends XYBarRenderer
A bar renderer that displays the series items stacked. The dataset used together with this renderer must be a IntervalXYDataset and a TableXYDataset. For example, the dataset class CategoryTableXYDataset implements both interfaces. The example shown here is generated by the StackedXYBarChartDemo2.java program included in the JFreeChart demo collection:

StackedXYBarRendererSample.png
See Also:
  • Constructor Details

    • StackedXYBarRenderer

      Creates a new renderer.
    • StackedXYBarRenderer

      public StackedXYBarRenderer(double margin)
      Creates a new renderer.
      Parameters:
      margin - the percentual amount of the bars that are cut away.
  • Method Details