Interface IsDefaultBar
- 
- All Superinterfaces:
- IsDefaultOptionsElement,- IsDefaultPointStyleHandler
 - All Known Implementing Classes:
- Bar,- ChoroplethBar,- DefaultBar,- DefaultChartBar
 
 public interface IsDefaultBar extends IsDefaultOptionsElement, IsDefaultPointStyleHandler Interface to define bar object defaults.- Author:
- Andrea "Stock" Stocchero
 
- 
- 
Method SummaryAll Methods Instance Methods Abstract Methods Modifier and Type Method Description intgetBorderRadius()Returns the bar border radius (in pixels).BorderSkippedgetBorderSkipped()Returns the edge to skip drawing the border for.intgetHoverBorderRadius()Returns the bar border radius (in pixels) when hovered.intgetInflateAmount()Returns the amount of pixels to inflate the bar rectangles, when drawing.booleanisAutoInflateAmount()Returnstrueif the amount of pixels to inflate the bar rectangles, when drawing, is automatically calculated.booleanisEnableBorderRadius()Iftrue, it only shows the borderRadius of a bar when the bar is at the end of the stack.- 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptionsElementgetBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
 - 
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultPointStyleHandlergetPointStyle, getPointStyleAsCanvas, getPointStyleAsImage, getPointStyleType
 
- 
 
- 
- 
- 
Method Detail- 
getBorderSkippedBorderSkipped getBorderSkipped() Returns the edge to skip drawing the border for.- Returns:
- the edge to skip drawing the border for.
 
 - 
getBorderRadiusint getBorderRadius() Returns the bar border radius (in pixels).- Returns:
- the bar border radius (in pixels).
 
 - 
getHoverBorderRadiusint getHoverBorderRadius() Returns the bar border radius (in pixels) when hovered.- Returns:
- the bar border radius (in pixels) when hovered.
 
 - 
isEnableBorderRadiusboolean isEnableBorderRadius() Iftrue, it only shows the borderRadius of a bar when the bar is at the end of the stack.- Returns:
- if true, it only shows the borderRadius of a bar when the bar is at the end of the stack
 
 - 
isAutoInflateAmountboolean isAutoInflateAmount() Returnstrueif the amount of pixels to inflate the bar rectangles, when drawing, is automatically calculated.- Returns:
- trueif the amount of pixels to inflate the bar rectangles, when drawing, is automatically calculated
 
 - 
getInflateAmountint getInflateAmount() Returns the amount of pixels to inflate the bar rectangles, when drawing.- Returns:
- the amount of pixels to inflate the bar rectangles, when drawing
 
 
- 
 
-