public final class RadialPointLabels extends ChartContainer
Modifier and Type | Method and Description |
---|---|
RadialPointLabelCallback |
getCallback() |
IsColor |
getFontColor()
Returns the font color for tick labels.
|
java.lang.String |
getFontColorAsString()
Returns the font color for tick labels.
|
java.lang.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.
|
boolean |
isDisplay()
If true, labels are shown
|
protected java.lang.String |
onCallback(java.lang.String item)
Returns the string representation of the tick value as it should be displayed on the chart.
|
void |
setCallback(RadialPointLabelCallback callback) |
void |
setDisplay(boolean display)
If true, labels are shown
|
void |
setFontColor(IsColor fontColor)
Sets the font color for tick labels.
|
void |
setFontColor(java.lang.String fontColor)
Sets the font color for tick labels.
|
void |
setFontFamily(java.lang.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.
|
getChart
checkAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, type
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).FontStyle
public FontStyle getFontStyle()
FontStyle
public void setFontColor(IsColor fontColor)
fontColor
- font color for tick labels.public void setFontColor(java.lang.String fontColor)
fontColor
- font color for tick labels.public java.lang.String getFontColorAsString()
public IsColor getFontColor()
public void setFontFamily(java.lang.String fontFamily)
fontFamily
- font family for the tick labels, follows CSS font-family options.public java.lang.String getFontFamily()
public RadialPointLabelCallback getCallback()
public void setCallback(RadialPointLabelCallback callback)
callback
- the callback to setprotected java.lang.String onCallback(java.lang.String item)
item
- tick item to be shown