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 YAxesExtremesSetEvent

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

All Implemented Interfaces:

HasAxis<YAxis>, Serializable

@DomEvent("yaxes-extremes-set") public class YAxesExtremesSetEvent extends ComponentEvent<Chart> implements HasAxis<YAxis>

The YAxesExtremesSetEvent class stores data for set extremes events on the y axes of the chart.

See Also:

  • Constructor Details

    • YAxesExtremesSetEvent

      public YAxesExtremesSetEvent(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<YAxis>

    • getAxis

      public YAxis getAxis()

      Specified by:

      getAxis in interface HasAxis<YAxis>