All Implemented Interfaces:
Serializable

public class Breaks extends AbstractConfigurationObject
An array defining breaks in the axis, the sections defined will be left out and all the points shifted closer to each other.
See Also:
  • Constructor Details

    • Breaks

      public Breaks()
  • Method Details

    • getBreakSize

      public Number getBreakSize()
      See Also:
    • setBreakSize

      public void setBreakSize(Number breakSize)
      A number indicating how much space should be left between the start and the end of the break. The break size is given in axis units, so for instance on a datetime axis, a break size of 3600000 would indicate the equivalent of an hour.

      Defaults to: 0

    • getFrom

      public Number getFrom()
      See Also:
    • setFrom

      public void setFrom(Number from)
      The point where the break starts.
    • getRepeat

      public Number getRepeat()
      See Also:
    • setRepeat

      public void setRepeat(Number repeat)
      Defines an interval after which the break appears again. By default the breaks do not repeat.

      Defaults to: 0

    • getTo

      public Number getTo()
      See Also:
    • setTo

      public void setTo(Number to)
      The point where the break ends.
    • setFrom

      @Deprecated public void setFrom(Date date)
      Deprecated.
      as of 4.0. Use #setPointStart(Instant)
    • setFrom

      public void setFrom(Instant instant)
      See Also:
    • setTo

      @Deprecated public void setTo(Date date)
      Deprecated.
      as of 4.0. Use #setPointStart(Instant)
    • setTo

      public void setTo(Instant instant)
      See Also: