Documentation of 'org.jfree.chart.renderer.category.StatisticalLineAndShapeRenderer' Java class
StatisticalLineAndShapeRenderer
org.jfree.chart.renderer.category

Class StatisticalLineAndShapeRenderer

  • All Implemented Interfaces:
    java.io.Serializable, java.lang.Cloneable, LegendItemSource, CategoryItemRenderer, org.jfree.util.PublicCloneable


    public class StatisticalLineAndShapeRenderer
    extends LineAndShapeRenderer
    implements java.lang.Cloneable, org.jfree.util.PublicCloneable, java.io.Serializable
    A renderer that draws shapes for each data item, and lines between data items. Each point has a mean value and a standard deviation line. For use with the CategoryPlot class. The example shown here is generated by the StatisticalLineChartDemo1.java program included in the JFreeChart Demo Collection:

    StatisticalLineRendererSample.png
    See Also:
    Serialized Form
    • Constructor Detail

      • StatisticalLineAndShapeRenderer

        public StatisticalLineAndShapeRenderer()
        Constructs a default renderer (draws shapes and lines).
      • StatisticalLineAndShapeRenderer

        public StatisticalLineAndShapeRenderer(boolean linesVisible,
                                               boolean shapesVisible)
        Constructs a new renderer.
        Parameters:
        linesVisible - draw lines?
        shapesVisible - draw shapes?
    • Method Detail

      • getErrorIndicatorPaint

        public java.awt.Paint getErrorIndicatorPaint()
        Returns the paint used for the error indicators.
        Returns:
        The paint used for the error indicators (possibly null).
        See Also:
        setErrorIndicatorPaint(Paint)
      • setErrorIndicatorPaint

        public void setErrorIndicatorPaint(java.awt.Paint paint)
        Sets the paint used for the error indicators (if null, the item paint is used instead) and sends a RendererChangeEvent to all registered listeners.
        Parameters:
        paint - the paint (null permitted).
        See Also:
        getErrorIndicatorPaint()
      • getErrorIndicatorStroke

        public java.awt.Stroke getErrorIndicatorStroke()
        Returns the stroke used for the error indicators.
        Returns:
        The stroke used for the error indicators (possibly null).
        Since:
        1.0.13
        See Also:
        setErrorIndicatorStroke(Stroke)
      • setErrorIndicatorStroke

        public void setErrorIndicatorStroke(java.awt.Stroke stroke)
        Sets the stroke used for the error indicators (if null, the item outline stroke is used instead) and sends a RendererChangeEvent to all registered listeners.
        Parameters:
        stroke - the stroke (null permitted).
        Since:
        1.0.13
        See Also:
        getErrorIndicatorStroke()
      • equals

        public boolean equals(java.lang.Object obj)
        Tests this renderer for equality with an arbitrary object.
        Overrides:
        equals in class LineAndShapeRenderer
        Parameters:
        obj - the object (null permitted).
        Returns:
        A boolean.

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.