Class XYErrorRenderer

    • Constructor Detail

      • XYErrorRenderer

        public XYErrorRenderer()
        Creates a new XYErrorRenderer instance.
    • Method Detail

      • getDrawXError

        public boolean getDrawXError()
        Returns the flag that controls whether or not the renderer draws error bars for the x-values.
        Returns:
        A boolean.
        See Also:
        setDrawXError(boolean)
      • setDrawXError

        public void setDrawXError​(boolean draw)
        Sets the flag that controls whether or not the renderer draws error bars for the x-values and, if the flag changes, sends a RendererChangeEvent to all registered listeners.
        Parameters:
        draw - the flag value.
        See Also:
        getDrawXError()
      • getDrawYError

        public boolean getDrawYError()
        Returns the flag that controls whether or not the renderer draws error bars for the y-values.
        Returns:
        A boolean.
        See Also:
        setDrawYError(boolean)
      • setDrawYError

        public void setDrawYError​(boolean draw)
        Sets the flag that controls whether or not the renderer draws error bars for the y-values and, if the flag changes, sends a RendererChangeEvent to all registered listeners.
        Parameters:
        draw - the flag value.
        See Also:
        getDrawYError()
      • getCapLength

        public double getCapLength()
        Returns the length (in Java2D units) of the cap at the end of the error bars.
        Returns:
        The cap length.
        See Also:
        setCapLength(double)
      • setCapLength

        public void setCapLength​(double length)
        Sets the length of the cap at the end of the error bars, and sends a RendererChangeEvent to all registered listeners.
        Parameters:
        length - the length (in Java2D units).
        See Also:
        getCapLength()
      • getErrorPaint

        public Paint getErrorPaint()
        Returns the paint used to draw the error bars. If this is null (the default), the item paint is used instead.
        Returns:
        The paint (possibly null).
        See Also:
        setErrorPaint(Paint)
      • setErrorPaint

        public void setErrorPaint​(Paint paint)
        Sets the paint used to draw the error bars and sends a RendererChangeEvent to all registered listeners.
        Parameters:
        paint - the paint (null permitted).
        See Also:
        getErrorPaint()
      • getErrorStroke

        public Stroke getErrorStroke()
        Returns the stroke used to draw the error bars. If this is null (the default), the item outline stroke is used instead.
        Returns:
        The stroke (possibly null).
        Since:
        1.0.13
        See Also:
        setErrorStroke(Stroke)
      • setErrorStroke

        public void setErrorStroke​(Stroke stroke)
        Sets the stroke used to draw the error bars and sends a RendererChangeEvent to all registered listeners.
        Parameters:
        stroke - the stroke (null permitted).
        Since:
        1.0.13
        See Also:
        getErrorStroke()
      • equals

        public boolean equals​(Object obj)
        Tests this instance for equality with an arbitrary object.
        Overrides:
        equals in class XYLineAndShapeRenderer
        Parameters:
        obj - the object (null permitted).
        Returns:
        A boolean.