public final class PointLabels extends AbstractModel<AbstractScale,IsDefaultPointLabels> implements IsDefaultPointLabels, HasFont
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.
|
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.
|
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, setElementAndAddToParent, 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, getElement, 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, setElement, 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 FontContainer getFontContainer()
HasFont
getFontContainer
in interface HasFont
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