public class DoughnutDataset extends PieDataset
Constructor and Description |
---|
DoughnutDataset()
Creates a dataset.
It uses the global options has default. |
DoughnutDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.
|
Modifier and Type | Method and Description |
---|---|
default 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.
|
getBorderAligner, getWeight, setWeight
applyGradient, applyPattern, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBackgroundColorCallback, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderColorCallback, getHoverBorderWidth, getHoverBorderWidthCallback, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth
getBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBorderWidth
getBackgroundColorCallback, getBorderColorCallback, getBorderWidthCallback, getData, getData, getDataset, getDataType, getDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getDefaultValues, getId, getLabel, getOptions, getType, hasOptions, isHidden, setBackgroundColor, setBorderColor, setBorderWidth, setData, setData, setHidden, setLabel, setOptions, setType
checkValue, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, type
public DoughnutDataset()
public DoughnutDataset(IsDefaultOptions defaultValues)
defaultValues
- default optionspublic void setBorderAlign(BorderAlign align)
align
- the property to set the border alignment on chart datasetspublic BorderAlign getBorderAlign()
public BorderAlignCallback getBorderAlignCallback()
null
.null
.public void setBorderAlign(BorderAlignCallback borderAlignCallback)
borderAlignCallback
- the border align callback to set