Interface HasSpanGaps

    • Method Summary

      All Methods Instance Methods Abstract Methods Default Methods 
      Modifier and Type Method Description
      SpanGapHandler getSpanGapHandler()
      Returns a span gap handler instance to use in the default methods of this interface.
      default double getSpanGaps()
      Returns the value of the data if lines will be drawn between points with no or null data.
      default boolean isSpanGaps()
      Returns if lines will be drawn between points with no or null data.
      If false, points with Double.NaN data will create a break in the line.
      default void setSpanGaps​(boolean spanGaps)
      Sets if lines will be drawn between points with no or null data.
      If false, points with Double.NaN data will create a break in the line.
      default void setSpanGaps​(double spanGaps)
      Sets the value of the data if lines will be drawn between points with no or null data.
    • Method Detail

      • getSpanGapHandler

        SpanGapHandler getSpanGapHandler()
        Returns a span gap handler instance to use in the default methods of this interface.
        Returns:
        a span gap handler instance
      • setSpanGaps

        default void setSpanGaps​(boolean spanGaps)
        Sets if lines will be drawn between points with no or null data.
        If false, points with Double.NaN data will create a break in the line.
        Parameters:
        spanGaps - true if lines will be drawn between points with no or null data.
        If false, points with Double.NaN data will create a break in the line
      • setSpanGaps

        default void setSpanGaps​(double spanGaps)
        Sets the value of the data if lines will be drawn between points with no or null data.
        Parameters:
        spanGaps - the value of the data if lines will be drawn between points with no or null data
      • isSpanGaps

        default boolean isSpanGaps()
        Returns if lines will be drawn between points with no or null data.
        If false, points with Double.NaN data will create a break in the line.
        Returns:
        true if lines will be drawn between points with no or null data.
        If false, points with Double.NaN data will create a break in the line
      • getSpanGaps

        default double getSpanGaps()
        Returns the value of the data if lines will be drawn between points with no or null data.
        Returns:
        the value of the data if lines will be drawn between points with no or null data