public class DoughnutDataset extends PieDataset
Modifier | Constructor and Description |
---|---|
|
DoughnutDataset()
Creates a dataset.
It uses the global options has default. |
|
DoughnutDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.
|
protected |
DoughnutDataset(Type type)
Creates the dataset using chart type related to the dataset.
|
protected |
DoughnutDataset(Type type,
IsDefaultOptions defaultValues)
Creates the dataset using a default and chart type related to the dataset.
|
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, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderWidth, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor
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, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getHoverBorderWidthCallback, getId, getLabel, getOptions, getOptions, getType, hasOptions, invokeColorCallback, isHidden, removeOptions, setBackgroundColor, setBorderColor, setBorderWidth, setData, setData, setHidden, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderWidth, setLabel, setOptions, setOptions
checkValue, empty, getArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, getValueForMultipleKeyTypes, 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 optionsprotected DoughnutDataset(Type type)
type
- chart type related to the datasetprotected DoughnutDataset(Type type, IsDefaultOptions defaultValues)
type
- chart type related to the datasetdefaultValues
- 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