public final class Arc extends AbstractElement<IsDefaultArc> implements IsDefaultArc
Modifier and Type | Method and 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).
|
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. |
void |
setAngle(double angle)
Sets the arc angle to cover.
|
void |
setBorderAlign(BorderAlign align)
Sets the property to set the border alignment on chart datasets.
|
void |
setBorderRadius(int borderRadius)
Sets the arc border radius (in pixels).
|
void |
setHoverOffset(int offset)
Sets the arc offset (in pixels) when hovered.
|
void |
setOffset(int offset)
Sets the arc offset (in pixels).
|
void |
setWeight(double weight)
Sets 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. |
getBackgroundColor, getBackgroundColorAsString, getBorderColor, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBackgroundColorAsString, getHoverBorderColor, getHoverBorderColorAsString, getHoverBorderWidth, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth
getDefaultValues, getParent, loadPadding, setCallbackToModel, setCallbackToModel, setEventToModel
checkAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent, setValueOrArrayAndAddToParent
checkDefaultValuesArgument, empty, getArrayValue, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getBackgroundColorAsString, getBorderColorAsString, getBorderWidth, getHoverBackgroundColorAsString, getHoverBorderColorAsString, getHoverBorderWidth
public void setBorderAlign(BorderAlign align)
align
- the property to set the border alignment on chart datasetspublic BorderAlign getBorderAlign()
getBorderAlign
in interface IsDefaultArc
public void setWeight(double weight)
weight
- the relative thickness of the datasetpublic double getWeight()
getWeight
in interface IsDefaultArc
public void setAngle(double angle)
angle
- the arc angle to coverpublic double getAngle()
getAngle
in interface IsDefaultArc
public void setOffset(int offset)
offset
- the arc offsetpublic int getOffset()
getOffset
in interface IsDefaultArc
public void setBorderRadius(int borderRadius)
borderRadius
- the arc border radius (in pixels).public int getBorderRadius()
getBorderRadius
in interface IsDefaultArc
public void setHoverOffset(int offset)
offset
- the arc offset when hoveredpublic int getHoverOffset()
getHoverOffset
in interface IsDefaultArc