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, setEventToModel
checkAndAddToParent, 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, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
checkDefaultValuesArgument, empty, getArrayValue, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, 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, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public org.pepstock.charba.client.options.FontContainer getFontContainer()
public Padding getBackdropPadding()
getBackdropPadding
in interface IsDefaultPointLabels
public void setDisplay(boolean display)
true
, labels are shown.display
- if true
, labels are shown.public boolean isDisplay()
true
, labels are shown.isDisplay
in interface IsDefaultPointLabels
true
, 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 IsDefaultPointLabels
public IsColor getBackdropColor()
public void setPadding(int padding)
padding
- the padding between chart and point labels, in pixels.public int getPadding()
getPadding
in interface IsDefaultPointLabels
public Font getFont()
getFont
in interface IsDefaultFontContainer
public void setColor(IsColor color)
color
- font color.public void setColor(String color)
color
- font color.public String getColorAsString()
getColorAsString
in interface IsDefaultFontContainer
public IsColor getColor()