public final class DefaultChartBar extends Object implements IsDefaultBar
Modifier and Type | Method and Description |
---|---|
String |
getBackgroundColorAsString()
Returns the background color.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderRadius()
Returns the bar border radius (in pixels).
|
BorderSkipped |
getBorderSkipped()
Returns the edge to skip drawing the border for.
|
int |
getBorderWidth()
Returns the border width.
|
String |
getHoverBackgroundColorAsString()
Returns the background color when hovered.
|
String |
getHoverBorderColorAsString()
Returns the border color when hovered.
|
int |
getHoverBorderRadius()
Returns the bar border radius (in pixels) when hovered.
|
int |
getHoverBorderWidth()
Returns the border width when hovered.
|
PointStyle |
getPointStyle()
Returns the style of the point.
|
Canvas |
getPointStyleAsCanvas()
Returns the style of the point as canvas.
If property is missing or not an canvas, returns null . |
Img |
getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null . |
PointStyleType |
getPointStyleType()
Returns the type of point style.
|
boolean |
isEnableBorderRadius()
If
true , it only shows the borderRadius of a bar when the bar is at the end of the stack. |
public String getBackgroundColorAsString()
IsDefaultOptionsElement
getBackgroundColorAsString
in interface IsDefaultOptionsElement
public int getBorderWidth()
IsDefaultOptionsElement
getBorderWidth
in interface IsDefaultOptionsElement
public String getBorderColorAsString()
IsDefaultOptionsElement
getBorderColorAsString
in interface IsDefaultOptionsElement
public BorderSkipped getBorderSkipped()
IsDefaultBar
getBorderSkipped
in interface IsDefaultBar
public int getBorderRadius()
IsDefaultBar
getBorderRadius
in interface IsDefaultBar
public PointStyle getPointStyle()
IsDefaultPointStyleHandler
getPointStyle
in interface IsDefaultPointStyleHandler
public PointStyleType getPointStyleType()
IsDefaultPointStyleHandler
getPointStyleType
in interface IsDefaultPointStyleHandler
public Canvas getPointStyleAsCanvas()
IsDefaultPointStyleHandler
null
.getPointStyleAsCanvas
in interface IsDefaultPointStyleHandler
null
.public Img getPointStyleAsImage()
IsDefaultPointStyleHandler
null
.getPointStyleAsImage
in interface IsDefaultPointStyleHandler
null
.public String getHoverBackgroundColorAsString()
IsDefaultOptionsElement
getHoverBackgroundColorAsString
in interface IsDefaultOptionsElement
public int getHoverBorderWidth()
IsDefaultOptionsElement
getHoverBorderWidth
in interface IsDefaultOptionsElement
public String getHoverBorderColorAsString()
IsDefaultOptionsElement
getHoverBorderColorAsString
in interface IsDefaultOptionsElement
public int getHoverBorderRadius()
IsDefaultBar
getHoverBorderRadius
in interface IsDefaultBar
public boolean isEnableBorderRadius()
IsDefaultBar
true
, it only shows the borderRadius of a bar when the bar is at the end of the stack.isEnableBorderRadius
in interface IsDefaultBar
true
, it only shows the borderRadius of a bar when the bar is at the end of the stack