Class Position
java.lang.Object
com.vaadin.flow.component.charts.model.AbstractConfigurationObject
com.vaadin.flow.component.charts.model.Position
- All Implemented Interfaces:
Serializable
Position configuration for the credits label. Supported properties are align,
verticalAlign, x and y. Defaults to
position: { align: 'right', x: -10, verticalAlign: 'bottom', y: -5 }
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetX()getY()voidsetHorizontalAlign(HorizontalAlign horizontalAlign) The horizontal alignment of the credits.voidsetVerticalAlign(VerticalAlign verticalAlign) Sets the vertical alignment of the credits.voidThe X position of the credits.voidThe Y position of the credits.
-
Constructor Details
-
Position
public Position()
-
-
Method Details
-
getVerticalAlign
- Returns:
- the verticalAlign
- See Also:
-
setVerticalAlign
Sets the vertical alignment of the credits. Can be one ofVerticalAlign.TOP,VerticalAlign.MIDDLEandVerticalAlign.BOTTOM. Defaults toVerticalAlign.TOP.- Parameters:
verticalAlign- the align to set
-
getHorizontalAlign
- Returns:
- the horizontal alignment
- See Also:
-
setHorizontalAlign
The horizontal alignment of the credits. Can be one ofHorizontalAlign.LEFT,HorizontalAlign.CENTERandHorizontalAlign.RIGHT. Defaults toHorizontalAlign.CENTER.- Parameters:
horizontalAlign- the alignment to set
-
getX
- Returns:
- the X position of the credits
- See Also:
-
setX
The X position of the credits. Defaults to -10.- Parameters:
x- the X position to set
-
getY
- Returns:
- the Y position of the credits
- See Also:
-
setY
The Y position of the credits. Defaults to -5.- Parameters:
y- the Y position to set
-