public final class DefaultChartArc extends Object implements IsDefaultArc
Modifier and Type | Method and Description |
---|---|
double |
getAngle()
Returns the arc angle to cover.
|
String |
getBackgroundColorAsString()
Returns the background color.
|
BorderAlign |
getBorderAlign()
Returns the property to set the border alignment on chart datasets.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderRadius()
Returns the arc border radius (in pixels).
|
int |
getBorderWidth()
Returns the border width.
|
String |
getHoverBackgroundColorAsString()
Returns the background color when hovered.
|
String |
getHoverBorderColorAsString()
Returns the border color when hovered.
|
int |
getHoverBorderWidth()
Returns the border width when hovered.
|
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 to offset 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. |
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 BorderAlign getBorderAlign()
IsDefaultArc
getBorderAlign
in interface IsDefaultArc
public double getWeight()
IsDefaultArc
getWeight
in interface IsDefaultArc
public double getAngle()
IsDefaultArc
getAngle
in interface IsDefaultArc
public int getOffset()
IsDefaultArc
getOffset
in interface IsDefaultArc
public int getBorderRadius()
IsDefaultArc
getBorderRadius
in interface IsDefaultArc
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 getHoverOffset()
IsDefaultArc
getHoverOffset
in interface IsDefaultArc
public int getSpacing()
IsDefaultArc
offset
but applies to all arcs.getSpacing
in interface IsDefaultArc