Class Subtitle
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.Subtitle
- All Implemented Interfaces:
Serializable
@Generated(value="This class is generated and shouldn\'t be modified",
comments="Incorrect and missing API should be reported to https://github.com/vaadin/vaadin-charts-flow/issues/new")
public class Subtitle
extends AbstractConfigurationObject
The map's subtitle
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()Getter for the fieldalign.Getter for the fieldfloating.getStyle()Getter for the fieldstyle.getText()Getter for the fieldtext.Getter for the fielduseHTML.Getter for the fieldverticalAlign.Getter for the fieldwidthAdjust.getX()Getter for the fieldx.getY()Getter for the fieldy.voidsetAlign(HorizontalAlign align) The horizontal alignment of the subtitle.voidsetFloating(Boolean floating) When the subtitle is floating, the plot area will not move to make space for it.voidSetter for the fieldstyle.voidThe subtitle of the map.voidsetUseHTML(Boolean useHTML) Whether to use HTML to render the text.voidsetVerticalAlign(VerticalAlign verticalAlign) The vertical alignment of the title.voidsetWidthAdjust(Number widthAdjust) Adjustment made to the subtitle width, normally to reserve space for the exporting burger menu.voidThe x position of the subtitle relative to the alignment within chart.spacingLeft and chart.spacingRight.voidThe y position of the subtitle relative to the alignment within chart.spacingTop and chart.spacingBottom.
-
Constructor Details
-
Subtitle
public Subtitle()Constructor for Subtitle.
-
Subtitle
Constructor for Subtitle.
- Parameters:
text- aStringobject.
-
-
Method Details
-
getAlign
Getter for the field
align.- Returns:
- a
HorizontalAlignobject. - See Also:
-
setAlign
The horizontal alignment of the subtitle. Can be one of "left", "center" and "right".Defaults to: center
- Parameters:
align- aHorizontalAlignobject.
-
getFloating
Getter for the field
floating.- Returns:
- a
Booleanobject. - See Also:
-
setFloating
When the subtitle is floating, the plot area will not move to make space for it.Defaults to: false
- Parameters:
floating- aBooleanobject.
-
getText
Getter for the field
text.- Returns:
- a
Stringobject. - See Also:
-
setText
The subtitle of the map.- Parameters:
text- aStringobject.
-
getUseHTML
Getter for the field
useHTML.- Returns:
- a
Booleanobject. - See Also:
-
setUseHTML
Whether to use HTML to render the text.Defaults to: false
- Parameters:
useHTML- aBooleanobject.
-
getVerticalAlign
Getter for the field
verticalAlign.- Returns:
- a
VerticalAlignobject. - See Also:
-
setVerticalAlign
The vertical alignment of the title. Can be one of "top", "middle" and "bottom". When a value is given, the title behaves as floating.Defaults to:
- Parameters:
verticalAlign- aVerticalAlignobject.
-
getWidthAdjust
Getter for the field
widthAdjust.- Returns:
- a
Numberobject. - See Also:
-
setWidthAdjust
Adjustment made to the subtitle width, normally to reserve space for the exporting burger menu.Defaults to: -44
- Parameters:
widthAdjust- aNumberobject.
-
getX
Getter for the field
x.- Returns:
- a
Numberobject. - See Also:
-
setX
The x position of the subtitle relative to the alignment within chart.spacingLeft and chart.spacingRight.Defaults to: 0
- Parameters:
x- aNumberobject.
-
getY
Getter for the field
y.- Returns:
- a
Numberobject. - See Also:
-
setY
The y position of the subtitle relative to the alignment within chart.spacingTop and chart.spacingBottom. By default the subtitle is laid out below the title unless the title is floating.Defaults to: null
- Parameters:
y- aNumberobject.
-
getStyle
Getter for the field
style.- Returns:
- a
CSSObjectobject.
-
setStyle
Setter for the field
style.- Parameters:
style- aCSSObjectobject.
-