Class AxisList<T extends Axis>
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.AxisList<T>
- All Implemented Interfaces:
Serializable
Alternative AxisContainer to allow multiple axes
- See Also:
-
Constructor Summary
-
Method Summary
-
Constructor Details
-
AxisList
public AxisList()
-
-
Method Details
-
getNumberOfAxes
public int getNumberOfAxes()- Returns:
- the number of axes in the list
-
getAxis
Finds the axis at the given index- Parameters:
index
- The index of the axis- Returns:
- The axis at the given index
-
getAxes
- Returns:
- The list of axes. Used only for serialization.
-
addAxis
Adds a new axis to the list- Parameters:
axis
- The axis to add
-
removeAxis
Removes an axis from the list- Parameters:
axis
- The axis to remove
-
indexOf
-
contains
-