public class DoughnutDataset extends PieDataset
Dataset.CanvasObjectProperty, Dataset.CommonProperty
DEFAULT_HIDDEN, DEFAULT_NORMALIZED, DEFAULT_PARSING
Modifier | Constructor and Description |
---|---|
|
DoughnutDataset()
Creates a dataset.
It uses the global options has default. |
|
DoughnutDataset(boolean hidden)
Creates a dataset.
It uses the global options has default. |
|
DoughnutDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.
|
|
DoughnutDataset(IsDefaultOptions defaultValues,
boolean hidden)
Creates the dataset using a default.
|
protected |
DoughnutDataset(Type type,
boolean hidden)
Creates the dataset using chart type related to the dataset.
|
protected |
DoughnutDataset(Type type,
IsDefaultOptions defaultValues,
boolean hidden)
Creates the dataset using a default and chart type related to the dataset.
|
Modifier and Type | Method and Description |
---|---|
default List<BorderAlign> |
getBorderAlign()
Returns the property to set the border alignment on chart datasets.
|
default BorderAlignCallback |
getBorderAlignCallback()
Returns the border align callback, if set, otherwise
null . |
default void |
setBorderAlign(BorderAlign... align)
Sets the property to set the border alignment on chart datasets.
|
default void |
setBorderAlign(BorderAlignCallback borderAlignCallback)
Sets the border align callback.
|
default void |
setBorderAlign(List<BorderAlign> align)
Sets the property to set the border alignment on chart datasets.
|
default void |
setBorderAlign(NativeCallback borderAlignCallback)
Sets the border align callback.
|
getBorderAlignHandler, getBorderRadius, getBorderRadiusAsObjects, getBorderRadiusCallback, getCircumference, getHoverOffset, getHoverOffsetCallback, getOffset, getOffsetCallback, getRotation, getSpacing, getWeight, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setBorderRadius, setCircumference, setHoverOffset, setHoverOffset, setHoverOffset, setOffset, setOffset, setOffset, setRotation, setSpacing, setWeight
getBorderWidthCallback, getColors, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderWidth, getHoverBorderWidthCallback, getWidths, setBorderWidth, setBorderWidth, setColors, setColors, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth, setWidths
getBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBorderWidth
createContext, getAnimationContainer, getBackgroundColorCallback, getBorderColorCallback, getClip, getClipAsObject, getData, getData, getDataCount, getDataset, getDataType, getDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getDefaultHoverBackgroundColorAsString, getDefaultHoverBorderColorAsString, getDefaultHoverBorderWidth, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getId, getLabel, getOptions, getOptions, getScope, getType, getTypedDataset, hasOptions, invokeColorCallback, isClip, isHidden, isNormalized, isParsing, removeOptions, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setClip, setClip, setClip, setData, setData, setHidden, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setLabel, setNormalized, setOptions, setOptions, setParsing
checkAndAddToParent, getChildKey, getParentNode, getRootNode, retrieveRoot, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setArrayValueAndAddToParent, setElementAndAddToParent, setInternalCallbackToModel, setInternalCallbackToModel, setValueAndAddToParent, 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, setValueOrArrayAndAddToParent
checkDefaultValuesArgument, empty, getArrayValue, getElement, getIncrementalId, getNativeChart, getNativeEvent, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, isType, keys, loadNativeObject, remove, remove, setArrayValue, setArrayValue, setArrayValue, setElement, setEmptyValue, setNewIncrementalId, setNewIncrementalId, setValue, 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, setValueOrArray, toJSON, type
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabled
extractScope
public DoughnutDataset()
public DoughnutDataset(boolean hidden)
hidden
- if true
, it will be initially hidden.public DoughnutDataset(IsDefaultOptions defaultValues)
defaultValues
- default optionspublic DoughnutDataset(IsDefaultOptions defaultValues, boolean hidden)
defaultValues
- default optionshidden
- if true
, it will be initially hidden.protected DoughnutDataset(Type type, boolean hidden)
type
- chart type related to the datasethidden
- if true
, it will be initially hidden.protected DoughnutDataset(Type type, IsDefaultOptions defaultValues, boolean hidden)
type
- chart type related to the datasetdefaultValues
- default optionshidden
- if true
, it will be initially hidden.public void setBorderAlign(BorderAlign... align)
align
- the property to set the border alignment on chart datasetspublic void setBorderAlign(List<BorderAlign> align)
align
- the property to set the border alignment on chart datasetspublic List<BorderAlign> getBorderAlign()
public BorderAlignCallback getBorderAlignCallback()
null
.null
.public void setBorderAlign(BorderAlignCallback borderAlignCallback)
borderAlignCallback
- the border align callback to setpublic void setBorderAlign(NativeCallback borderAlignCallback)
borderAlignCallback
- the border align callback to set