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 ResetZoomButton

    • Constructor Detail

      • ResetZoomButton

        public ResetZoomButton()
    • Method Detail

      • setPosition

        public void setPosition​(Position position)

        The position of the button.

      • setRelativeTo

        public void setRelativeTo​(ResetZoomButtonRelativeTo relativeTo)

        What frame the button should be placed related to. Can be either "plot" or "chart".

        Defaults to: plot

      • setTheme

        public void setTheme​(ButtonTheme theme)

        A collection of attributes for the button. The object takes SVG attributes like fill, stroke, stroke-width or r, the border radius. The theme also supports style, a collection of CSS properties for the text. Equivalent attributes for the hover state are given in theme.states.hover.