Interface IsDefaultArc
-
- All Superinterfaces:
IsDefaultOptionsElement
- All Known Implementing Classes:
Arc
,DefaultArc
,DefaultChartArc
public interface IsDefaultArc extends IsDefaultOptionsElement
Interface to define arc object defaults.- Author:
- Andrea "Stock" Stocchero
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description double
getAngle()
Returns the arc angle to cover.BorderAlign
getBorderAlign()
Returns the property to set the border alignment on chart datasets.int
getBorderRadius()
Returns the arc border radius (in pixels).int
getHoverOffset()
Returns the arc offset (in pixels) when hovered.int
getOffset()
Returns the arc offset (in pixels).int
getSpacing()
Returns the fixed arc offset (in pixels).
Similar tooffset
but applies to all arcs.double
getWeight()
Returns the relative thickness of the dataset.
Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.-
Methods inherited from interface org.pepstock.charba.client.defaults.IsDefaultOptionsElement
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
-
-
-
-
Method Detail
-
getBorderAlign
BorderAlign getBorderAlign()
Returns the property to set the border alignment on chart datasets.- Returns:
- the property to set the border alignment on chart datasets.
-
getWeight
double getWeight()
Returns the relative thickness of the dataset.
Providing a value for weight will cause the pie or doughnut dataset to be drawn with a thickness relative to the sum of all the dataset weight values.- Returns:
- the relative thickness of the dataset
-
getAngle
double getAngle()
Returns the arc angle to cover.- Returns:
- the arc angle to cover
-
getOffset
int getOffset()
Returns the arc offset (in pixels).- Returns:
- the arc offset
-
getBorderRadius
int getBorderRadius()
Returns the arc border radius (in pixels).- Returns:
- the arc border radius (in pixels).
-
getHoverOffset
int getHoverOffset()
Returns the arc offset (in pixels) when hovered.- Returns:
- the arc offset when hovered
-
getSpacing
int getSpacing()
Returns the fixed arc offset (in pixels).
Similar tooffset
but applies to all arcs.- Returns:
- the fixed arc offset (in pixels)
-
-