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.
|
Img |
getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null. |
boolean |
isEnableBorderRadius()
If
true, it only shows the borderRadius of a bar when the bar is at the end of the stack. |
boolean |
isPointStyleAsImage()
Returns
true if the point style is set by an Img. |
public String getBackgroundColorAsString()
IsDefaultOptionsElementgetBackgroundColorAsString in interface IsDefaultOptionsElementpublic int getBorderWidth()
IsDefaultOptionsElementgetBorderWidth in interface IsDefaultOptionsElementpublic String getBorderColorAsString()
IsDefaultOptionsElementgetBorderColorAsString in interface IsDefaultOptionsElementpublic BorderSkipped getBorderSkipped()
IsDefaultBargetBorderSkipped in interface IsDefaultBarpublic int getBorderRadius()
IsDefaultBargetBorderRadius in interface IsDefaultBarpublic PointStyle getPointStyle()
IsDefaultPointStyleHandlergetPointStyle in interface IsDefaultPointStyleHandlerpublic boolean isPointStyleAsImage()
IsDefaultPointStyleHandlertrue if the point style is set by an Img.isPointStyleAsImage in interface IsDefaultPointStyleHandlertrue if the point style is set by an Imgpublic Img getPointStyleAsImage()
IsDefaultPointStyleHandlernull.getPointStyleAsImage in interface IsDefaultPointStyleHandlernull.public String getHoverBackgroundColorAsString()
IsDefaultOptionsElementgetHoverBackgroundColorAsString in interface IsDefaultOptionsElementpublic int getHoverBorderWidth()
IsDefaultOptionsElementgetHoverBorderWidth in interface IsDefaultOptionsElementpublic String getHoverBorderColorAsString()
IsDefaultOptionsElementgetHoverBorderColorAsString in interface IsDefaultOptionsElementpublic int getHoverBorderRadius()
IsDefaultBargetHoverBorderRadius in interface IsDefaultBarpublic boolean isEnableBorderRadius()
IsDefaultBartrue, it only shows the borderRadius of a bar when the bar is at the end of the stack.isEnableBorderRadius in interface IsDefaultBartrue, it only shows the borderRadius of a bar when the bar is at the end of the stack