Class Diagonal

  • All Implemented Interfaces:
    Destroyable, GlobalInfoSupporter, LoggingLevelHandler, LoggingSupporter, OptionHandler, SizeOfHandler, Serializable

    public class Diagonal
    extends AbstractScatterPlotOverlay
    Display a diagonal line overlay

    Valid options are:

    -D <int> (property: debugLevel)
        The greater the number the more additional info the scheme may output to
        the console (0 = off).
        default: 0
        minimum: 0
     
    -line-thickness <float> (property: thickness)
        Thickness of the overlay line
        default: 2.0
        minimum: 1.0
        maximum: 5.0
     
    -color <java.awt.Color> (property: color)
        Color of the overlay line
        default: #0000ff
     
    -indicator (property: indicator)
        Display indicator lines on the axis to show what side diagonal on
     
    Version:
    $Revision$
    Author:
    msf8
    See Also:
    Serialized Form
    • Field Detail

      • m_Indicator

        protected boolean m_Indicator
        Whether an indicator should be displayed on the side of the plot showing where the diagonal is and at what gradient
    • Constructor Detail

      • Diagonal

        public Diagonal()
    • Method Detail

      • setIndicator

        public void setIndicator​(boolean value)
        Set whether an indicator should be displayed.
        Parameters:
        value - True if indicator displayed
      • getIndicator

        public boolean getIndicator()
        get whether an indicator should be displayed.
        Returns:
        True if indicator displayed
      • indicatorTipText

        public String indicatorTipText()
        Tip text for the indicator property.
        Returns:
        String describing the property