@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 AxisTitle extends AbstractConfigurationObject
Modifier and Type | Method and Description |
---|---|
VerticalAlign |
getAlign() |
Number |
getMargin() |
Number |
getOffset() |
Boolean |
getReserveSpace() |
Number |
getRotation() |
String |
getText() |
Number |
getX() |
Number |
getY() |
void |
setAlign(VerticalAlign align)
Alignment of the title relative to the axis values.
|
void |
setMargin(Number margin)
The pixel distance between the axis labels and the title.
|
void |
setOffset(Number offset)
The distance of the axis title from the axis line.
|
void |
setReserveSpace(Boolean reserveSpace)
Whether to reserve space for the title when laying out the axis.
|
void |
setRotation(Number rotation)
The rotation of the text in degrees.
|
void |
setText(String text)
The actual text of the axis title.
|
void |
setX(Number x)
Horizontal pixel offset of the title position.
|
void |
setY(Number y)
Vertical pixel offset of the title position.
|
public AxisTitle()
public AxisTitle(String text)
public VerticalAlign getAlign()
setAlign(VerticalAlign)
public void setAlign(VerticalAlign align)
Defaults to: middle
public Number getMargin()
setMargin(Number)
public void setMargin(Number margin)
Defaults to: 40
public Number getOffset()
setOffset(Number)
public void setOffset(Number offset)
public Boolean getReserveSpace()
setReserveSpace(Boolean)
public void setReserveSpace(Boolean reserveSpace)
Defaults to: true
public Number getRotation()
setRotation(Number)
public void setRotation(Number rotation)
Defaults to: 270
public String getText()
setText(String)
public void setText(String text)
text
option to
null
.
Defaults to: Values
public Number getX()
setX(Number)
public void setX(Number x)
Defaults to: 0
public Number getY()
setY(Number)
public void setY(Number y)
Copyright © 2019. All rights reserved.