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 AxisList<T extends Axis>

    • Constructor Detail

      • AxisList

        public AxisList()
    • Method Detail

      • getNumberOfAxes

        public int getNumberOfAxes()

        Returns:

        the number of axes in the list

      • getAxis

        public T getAxis​(int index)

        Finds the axis at the given index

        Parameters:

        index - The index of the axis

        Returns:

        The axis at the given index

      • getAxes

        public List<T> getAxes()

        Returns:

        The list of axes. Used only for serialization.

      • addAxis

        public void addAxis​(T axis)

        Adds a new axis to the list

        Parameters:

        axis - The axis to add

      • removeAxis

        public void removeAxis​(T axis)

        Removes an axis from the list

        Parameters:

        axis - The axis to remove

      • indexOf

        public int indexOf​(Axis axis)
      • contains

        public boolean contains​(Axis axis)