public final class DefaultArc 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. |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidthpublic BorderAlign getBorderAlign()
IsDefaultArcgetBorderAlign in interface IsDefaultArcpublic double getWeight()
IsDefaultArcgetWeight in interface IsDefaultArcpublic double getAngle()
IsDefaultArcgetAngle in interface IsDefaultArcpublic int getOffset()
IsDefaultArcgetOffset in interface IsDefaultArcpublic int getBorderRadius()
IsDefaultArcgetBorderRadius in interface IsDefaultArcpublic int getHoverOffset()
IsDefaultArcgetHoverOffset in interface IsDefaultArcpublic int getSpacing()
IsDefaultArcoffset but applies to all arcs.getSpacing in interface IsDefaultArcpublic final String getBackgroundColorAsString()
IsDefaultOptionsElementgetBackgroundColorAsString in interface IsDefaultOptionsElementpublic final int getBorderWidth()
IsDefaultOptionsElementgetBorderWidth in interface IsDefaultOptionsElementpublic final String getBorderColorAsString()
IsDefaultOptionsElementgetBorderColorAsString in interface IsDefaultOptionsElementpublic String getHoverBackgroundColorAsString()
IsDefaultOptionsElementgetHoverBackgroundColorAsString in interface IsDefaultOptionsElementpublic int getHoverBorderWidth()
IsDefaultOptionsElementgetHoverBorderWidth in interface IsDefaultOptionsElementpublic String getHoverBorderColorAsString()
IsDefaultOptionsElementgetHoverBorderColorAsString in interface IsDefaultOptionsElement