You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.charts.model.

Class Breaks

    • Constructor Detail

      • Breaks

        public Breaks()
    • Method Detail

      • 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

      • setFrom

        public void setFrom​(Number from)

        The point where the break starts.

      • 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

      • 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)
      • setTo

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