Class AxisTitle
java.lang.Object
com.vaadin.componentfactory.maps.model.AbstractConfigurationObject
com.vaadin.componentfactory.maps.model.AxisTitle
- All Implemented Interfaces:
Serializable
@Generated(value="This class was generated",
comments="Incorrect and missing API should be reported")
public class AxisTitle
extends AbstractConfigurationObject
The axis title. In Highmaps, the axis is hidden by default, but adding an
axis title is still possible. X axis and Y axis titles will appear at the
bottom and left by default.
- Version:
- $Id: $Id
- Author:
- Vaadin
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()Getter for the fieldalign.Getter for the fieldmargin.Getter for the fieldoffset.Getter for the fieldrotation.getStyle()Getter for the fieldstyle.getText()Getter for the fieldtext.voidsetAlign(VerticalAlign align) Alignment of the title relative to the axis values.voidThe pixel distance between the axis labels and the title.voidThe distance of the axis title from the axis line.voidsetRotation(Number rotation) The rotation of the text in degrees. 0 is horizontal, 270 is vertical reading from bottom to top.voidCSS styles for the title.voidThe actual text of the axis title.
-
Constructor Details
-
AxisTitle
public AxisTitle()Constructor for AxisTitle.
-
AxisTitle
Constructor for AxisTitle.
- Parameters:
text- aStringobject.
-
-
Method Details
-
getAlign
Getter for the field
align.- Returns:
- a
VerticalAlignobject. - See Also:
-
setAlign
Alignment of the title relative to the axis values. Possible values are "low", "middle" or "high".Defaults to: middle
- Parameters:
align- aVerticalAlignobject.
-
getMargin
Getter for the field
margin.- Returns:
- a
Numberobject. - See Also:
-
setMargin
The pixel distance between the axis labels and the title. Positive values are outside the axis line, negative are inside.Defaults to: 40
- Parameters:
margin- aNumberobject.
-
getOffset
Getter for the field
offset.- Returns:
- a
Numberobject. - See Also:
-
setOffset
The distance of the axis title from the axis line. By default, this distance is computed from the offset width of the labels, the labels' distance from the axis and the title's margin. However when the offset option is set, it overrides all this.- Parameters:
offset- aNumberobject.
-
getRotation
Getter for the field
rotation.- Returns:
- a
Numberobject. - See Also:
-
setRotation
The rotation of the text in degrees. 0 is horizontal, 270 is vertical reading from bottom to top.Defaults to: 270
- Parameters:
rotation- aNumberobject.
-
getStyle
Getter for the field
style.- Returns:
- a
Styleobject. - See Also:
-
setStyle
CSS styles for the title. When titles are rotated they are rendered using vector graphic techniques and not all styles are applicable.Defaults to: { "color": "#707070", "fontWeight": "bold" }
- Parameters:
style- aStyleobject.
-
getText
Getter for the field
text.- Returns:
- a
Stringobject. - See Also:
-
setText
The actual text of the axis title. It can contain basic HTML text markup like <b>, <i> and spans with style.- Parameters:
text- aStringobject.
-