public final class PointLabels extends AbstractModel<AbstractScale,IsDefaultPointLabels> implements IsDefaultPointLabels
true.| Modifier and Type | Method and Description |
|---|---|
IsColor |
getBackdropColor()
Returns the background color of the point label.
|
String |
getBackdropColorAsString()
Returns the background color of the point label.
|
Padding |
getBackdropPadding()
Returns the padding of label backdrop.
|
default IsColor |
getColor()
Returns the font color.
|
default String |
getColorAsString()
Returns the font color as string.
|
default Font |
getFont()
Returns the font element.
|
org.pepstock.charba.client.options.FontContainer |
getFontContainer()
Returns a font container instance to use in the default methods of this interface.
|
int |
getPadding()
Returns the padding between chart and point labels, in pixels.
|
boolean |
isDisplay()
If
true, labels are shown. |
void |
setBackdropColor(IsColor backdropColor)
Sets the background color of the point label.
|
void |
setBackdropColor(String backdropColor)
Sets the background color of the point label.
|
default void |
setColor(IsColor color)
Sets the font color.
|
default void |
setColor(String color)
Sets the font color.
|
void |
setDisplay(boolean display)
If
true, labels are shown. |
void |
setPadding(int padding)
Sets the padding between chart and point labels, in pixels.
|
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModelcheckAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParentcheckDefaultValuesArgument, empty, getArrayValue, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic org.pepstock.charba.client.options.FontContainer getFontContainer()
public Padding getBackdropPadding()
getBackdropPadding in interface IsDefaultPointLabelspublic void setDisplay(boolean display)
true, labels are shown.display - if true, labels are shown.public boolean isDisplay()
true, labels are shown.isDisplay in interface IsDefaultPointLabelstrue, labels are shown.public void setBackdropColor(IsColor backdropColor)
backdropColor - the background color of the point labelpublic void setBackdropColor(String backdropColor)
backdropColor - the background color of the point labelpublic String getBackdropColorAsString()
getBackdropColorAsString in interface IsDefaultPointLabelspublic IsColor getBackdropColor()
public void setPadding(int padding)
padding - the padding between chart and point labels, in pixels.public int getPadding()
getPadding in interface IsDefaultPointLabelspublic Font getFont()
getFont in interface IsDefaultFontContainerpublic void setColor(IsColor color)
color - font color.public void setColor(String color)
color - font color.public String getColorAsString()
getColorAsString in interface IsDefaultFontContainerpublic IsColor getColor()