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).int
getPadding()
Returns the padding between chart and point labels, in pixels.boolean
isCentered()
Returns if point labels are centered.boolean
isDisplay()
Returns if the title is shown.-
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.
-
isDisplay
boolean isDisplay()
Returns if the title is shown.- Returns:
- if the title 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).
-
-