You're viewing an older version of Vaadin JavaDoc. Please see version 24.7.0 for the latest.
com.vaadin.flow.component.charts.events.

Class XAxesExtremesSetEvent

java.lang.Object
java.util.EventObject
com.vaadin.flow.component.ComponentEvent<Chart>
com.vaadin.flow.component.charts.events.XAxesExtremesSetEvent

All Implemented Interfaces:

HasAxis<XAxis>, Serializable

@DomEvent("xaxes-extremes-set") public class XAxesExtremesSetEvent extends ComponentEvent<Chart> implements HasAxis<XAxis>

The XAxesExtremesSetEvent class stores data for set extremes events on the x axes of the chart.

See Also:

  • Constructor Details

    • XAxesExtremesSetEvent

      public XAxesExtremesSetEvent(Chart source, boolean fromClient, @EventData("event.detail.originalEvent.min") double min, @EventData("event.detail.originalEvent.max") double max, @EventData("event.detail.axis.userOptions.axisIndex") int axisIndex)
  • Method Details

    • getMinimum

      public double getMinimum()
    • getMaximum

      public double getMaximum()
    • getAxisIndex

      public int getAxisIndex()

      Specified by:

      getAxisIndex in interface HasAxis<XAxis>

    • getAxis

      public XAxis getAxis()

      Specified by:

      getAxis in interface HasAxis<XAxis>