We use cookies to serve our customers and website visitors in the best possible way. Cookies are used for the proper functioning of the website and for improving the user experience, monitoring visitor traffic and marketing purposes. By continuing to browse the site, you agree to our use of cookies. You can read more about cookies here.
com.vaadin.flow.component.charts.model.
Class ResetZoomButton
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.ResetZoomButton
All Implemented Interfaces:
The button that appears after a selection zoom, allowing the user to reset zoom.
See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetTheme()
void
setPosition
(Position position) The position of the button.
void
setRelativeTo
(ResetZoomButtonRelativeTo relativeTo) What frame the button should be placed related to.
void
setTheme
(ButtonTheme theme) A collection of attributes for the button.
-
Constructor Details
-
ResetZoomButton
public ResetZoomButton()
-
-
Method Details
-
getPosition
See Also:
-
setPosition
The position of the button.
-
getRelativeTo
See Also:
-
setRelativeTo
What frame the button should be placed related to. Can be either "plot" or "chart".
Defaults to: plot
-
getTheme
See Also:
-
setTheme
A collection of attributes for the button. The object takes SVG attributes like
fill
,stroke
,stroke-width
orr
, the border radius. The theme also supportsstyle
, a collection of CSS properties for the text. Equivalent attributes for the hover state are given intheme.states.hover
.
-