Class ZoomingResetButton
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.ZoomingResetButton
- All Implemented Interfaces:
Serializable
The button that appears after a selection zoom, allowing the user to reset
zoom.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTheme()voidsetEnabled(Boolean enabled) Defines whether the reset button is visible.voidsetPosition(Position position) The position of the button.voidsetRelativeTo(ButtonRelativeTo relativeTo) What frame the button placement should be related to.voidsetTheme(ButtonTheme theme) A collection of attributes for the button theme.
-
Constructor Details
-
ZoomingResetButton
public ZoomingResetButton()
-
-
Method Details
-
getEnabled
- See Also:
-
setEnabled
Defines whether the reset button is visible. When undefined, it is shown automatically if zooming is enabled and hidden if zooming is disabled.- Parameters:
enabled-
-
getPosition
- See Also:
-
setPosition
The position of the button.Adjusting position values might cause overlap with chart elements. Ensure coordinates do not obstruct other components or data visibility.
- Parameters:
position-
-
getRelativeTo
- See Also:
-
setRelativeTo
What frame the button placement should be related to.- Parameters:
relativeTo-
-
getTheme
- See Also:
-
setTheme
A collection of attributes for the button theme.- Parameters:
theme-
-