public class RadialPointLabels extends Object
Modifier and Type | Method and Description |
---|---|
Axis |
getAxis()
Returns the axis instance.
|
RadialPointLabelCallback |
getCallback()
Returns the user callback to change point labels.
|
List<IsColor> |
getFontColor()
Returns the font color for tick labels.
|
List<String> |
getFontColorAsString()
Returns the font color for tick labels.
|
String |
getFontFamily()
Returns the font family for the tick labels, follows CSS font-family options.
|
int |
getFontSize()
Returns the font size for the tick labels.
|
FontStyle |
getFontStyle()
Returns the font style for the tick labels, follows CSS font-style options (i.e.
|
double |
getLineHeight()
Returns the height of an individual line of text.
|
String |
getLineHeightAsString()
Returns the height of an individual line of text.
|
boolean |
isDisplay()
If true, labels are shown
|
void |
setCallback(RadialPointLabelCallback callback)
Sets the user callback to change point labels.
|
void |
setDisplay(boolean display)
If true, labels are shown
|
void |
setFontColor(IsColor... fontColor)
Sets the font color for tick labels.
|
void |
setFontColor(String... fontColor)
Sets the font color for tick labels.
|
void |
setFontFamily(String fontFamily)
Sets the font family for the tick labels, follows CSS font-family options.
|
void |
setFontSize(int fontSize)
Sets the font size for the tick labels.
|
void |
setFontStyle(FontStyle fontStyle)
Sets the font style for the tick labels, follows CSS font-style options (i.e.
|
void |
setLineHeight(double lineHeight)
Sets the height of an individual line of text.
|
void |
setLineHeight(String lineHeight)
Sets the height of an individual line of text.
|
public void setDisplay(boolean display)
display
- if true, labels are shownpublic boolean isDisplay()
public void setFontSize(int fontSize)
fontSize
- font size for the tick labels.public int getFontSize()
public void setFontStyle(FontStyle fontStyle)
fontStyle
- font style for the tick labels, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).public FontStyle getFontStyle()
public void setFontColor(IsColor... fontColor)
fontColor
- font color for tick labels.public void setFontColor(String... fontColor)
fontColor
- font color for tick labels.public List<String> getFontColorAsString()
public List<IsColor> getFontColor()
public void setFontFamily(String fontFamily)
fontFamily
- font family for the tick labels, follows CSS font-family options.public String getFontFamily()
public void setLineHeight(double lineHeight)
lineHeight
- height of an individual line of text.public void setLineHeight(String lineHeight)
lineHeight
- height of an individual line of text.public double getLineHeight()
public String getLineHeightAsString()
public RadialPointLabelCallback getCallback()
public void setCallback(RadialPointLabelCallback callback)
callback
- the callback to setpublic final Axis getAxis()