Class ZoomingResetButton

java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.ZoomingResetButton
All Implemented Interfaces:
Serializable

public class ZoomingResetButton extends AbstractConfigurationObject
The button that appears after a selection zoom, allowing the user to reset zoom.
See Also:
  • Constructor Details

    • ZoomingResetButton

      public ZoomingResetButton()
  • Method Details

    • getEnabled

      public Boolean getEnabled()
      See Also:
    • setEnabled

      public void setEnabled(Boolean enabled)
      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

      public Position getPosition()
      See Also:
    • setPosition

      public void setPosition(Position position)
      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

      public ButtonRelativeTo getRelativeTo()
      See Also:
    • setRelativeTo

      public void setRelativeTo(ButtonRelativeTo relativeTo)
      What frame the button placement should be related to.
      Parameters:
      relativeTo -
    • getTheme

      public ButtonTheme getTheme()
      See Also:
    • setTheme

      public void setTheme(ButtonTheme theme)
      A collection of attributes for the button theme.
      Parameters:
      theme -