public final class DefaultChartLegendLabels extends Object implements IsDefaultLegendLabels
Modifier and Type | Method and Description |
---|---|
int |
getBoxWidth()
Returns the width of colored box.
|
String |
getFontColorAsString()
Returns the font color
|
String |
getFontFamily()
Returns the font family, follows CSS font-family options.
|
int |
getFontSize()
Returns the font size.
|
FontStyle |
getFontStyle()
Returns the font style, follows CSS font-style options (i.e.
|
int |
getPadding()
Returns the padding to apply around labels.
|
boolean |
isUsePointStyle()
Returns if label style will match corresponding point style (size is based on fontSize, boxWidth is not used in this
case).
|
public String getFontColorAsString()
IsDefaultFontItem
getFontColorAsString
in interface IsDefaultFontItem
public int getFontSize()
IsDefaultFontItem
getFontSize
in interface IsDefaultFontItem
public FontStyle getFontStyle()
IsDefaultFontItem
getFontStyle
in interface IsDefaultFontItem
public String getFontFamily()
IsDefaultFontItem
getFontFamily
in interface IsDefaultFontItem
public boolean isUsePointStyle()
IsDefaultLegendLabels
isUsePointStyle
in interface IsDefaultLegendLabels
public int getBoxWidth()
IsDefaultLegendLabels
getBoxWidth
in interface IsDefaultLegendLabels
public int getPadding()
IsDefaultLegendLabels
getPadding
in interface IsDefaultLegendLabels