Class Breaks
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Breaks
- All Implemented Interfaces:
Serializable
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()voidsetBreakSize(Number breakSize) A number indicating how much space should be left between the start and the end of the break.voidThe point where the break starts.voidvoidDeprecated.as of 4.0.voidDefines an interval after which the break appears again.voidThe point where the break ends.voidvoidDeprecated.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 adatetimeaxis, 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:
-