Interface IsDefaultPointLabels
-
- All Superinterfaces:
IsDefaultFontContainer
- All Known Implementing Classes:
DefaultChartPointLabels
,DefaultPointLabels
,PointLabels
public interface IsDefaultPointLabels extends IsDefaultFontContainer
Interface to define point labels object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description String
getBackdropColorAsString()
Returns the background color of the point label.IsDefaultPadding
getBackdropPadding()
Returns the padding of label backdrop.int
getBorderRadius()
Returns the border radius (in pixels).Display
getDisplay()
Returns if the labels is shown.int
getPadding()
Returns the padding between chart and point labels, in pixels.boolean
isCentered()
Returns if point labels are centered.-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultFontContainer
getColorAsString, getFont
-
-
-
-
Method Detail
-
getBackdropPadding
IsDefaultPadding getBackdropPadding()
Returns the padding of label backdrop.- Returns:
- padding of label backdrop.
-
getDisplay
Display getDisplay()
Returns if the labels is shown.- Returns:
- if the labels is shown.
-
getPadding
int getPadding()
Returns the padding between chart and point labels, in pixels.- Returns:
- padding the padding between chart and point labels, in pixels.
-
getBackdropColorAsString
String getBackdropColorAsString()
Returns the background color of the point label.- Returns:
- the background color of the point label
-
isCentered
boolean isCentered()
Returns if point labels are centered.- Returns:
- if point labels are centered
-
getBorderRadius
int getBorderRadius()
Returns the border radius (in pixels).- Returns:
- the border radius (in pixels).
-
-