com.vaadin.flow.component.charts.model.
Class Breaks
All Implemented Interfaces:
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 Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetFrom()
getTo()
void
setBreakSize
(Number breakSize) A number indicating how much space should be left between the start and the end of the break.
void
The point where the break starts.
void
void
Deprecated.
as of 4.0.void
Defines an interval after which the break appears again.
void
The point where the break ends.
void
void
Deprecated.
as of 4.0.
-
Constructor Details
-
Breaks
public Breaks()
-
-
Method Details
-
getBreakSize
See Also:
-
setBreakSize
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
See Also:
-
setFrom
The point where the break starts.
-
getRepeat
See Also:
-
setRepeat
Defines an interval after which the break appears again. By default the breaks do not repeat.
Defaults to: 0
-
getTo
See Also:
-
setTo
The point where the break ends.
-
setFrom
Deprecated.as of 4.0. Use#setPointStart(Instant)
-
setFrom
See Also:
-
setTo
Deprecated.as of 4.0. Use#setPointStart(Instant)
-
setTo
See Also:
-