Class XYShapeRenderer

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, java.util.EventListener, AnnotationChangeListener, LegendItemSource, XYItemRenderer

    public class XYShapeRenderer
    extends AbstractXYItemRenderer
    implements XYItemRenderer, java.lang.Cloneable, java.io.Serializable
    A renderer that draws shapes at (x, y) coordinates and, if the dataset is an instance of XYZDataset, fills the shapes with a paint that is based on the z-value (the paint is obtained from a lookup table). The renderer also allows for optional guidelines, horizontal and vertical lines connecting the shape to the edges of the plot.

    The example shown here is generated by the XYShapeRendererDemo1.java program included in the JFreeChart demo collection:

    XYShapeRendererSample.png

    This renderer has similarities to, but also differences from, the XYLineAndShapeRenderer.
    Since:
    1.0.11
    See Also:
    Serialized Form
    • Constructor Detail

      • XYShapeRenderer

        public XYShapeRenderer()
        Creates a new XYShapeRenderer instance with default attributes.