public final class DataLabelsContext extends AbstractDatasetContext
DataLabelsPlugin
.Modifier and Type | Method and Description |
---|---|
LabelItem |
getLabel()
Returns the label options of plugin.
|
protected boolean |
isConsistent()
Returns
true if the context is consistent.Custom context (the plugin ones) should extend it and check if the context is consistent before invoking the callback. |
checkIfPropertyIsValid, getDataIndex, getDatasetElement, getDatasetIndex, getDatasetItem, getMode, isActive
getAttribute, getAttribute, getAttribute, getAttribute, getAttributes, getChart, getType, hasAttributes, setAttribute, setAttribute, setAttribute, setAttribute, setAttributes
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
public LabelItem getLabel()
protected boolean isConsistent()
ChartContext
true
if the context is consistent.isConsistent
in class ChartContext
true
if the context is consistent