public abstract class HoverDataset extends HoverFlexDataset
Dataset.CanvasObjectProperty, Dataset.CommonPropertyDEFAULT_HIDDEN, DEFAULT_NORMALIZED, DEFAULT_PARSING| Modifier | Constructor and Description | 
|---|---|
| protected  | HoverDataset(Type type,
            IsDefaultOptions defaultValues,
            boolean hidden)Creates the data set using a default and chart type related to the data set. | 
| Modifier and Type | Method and Description | 
|---|---|
| WidthCallback<DatasetContext> | getBorderWidthCallback()Returns the border width callback, if set, otherwise  null. | 
| protected ArrayString | getColors(Key key,
         String defaultvalue)Returns an array of colors as string. | 
| List<Gradient> | getHoverBackgroundColorAsGradient()Returns the fill gradients of the arcs in the data set when hovered. If property is missing or not a gradient, returns an empty list. | 
| List<Pattern> | getHoverBackgroundColorAsPatterns()Returns the fill patterns of the arcs in the data set when hovered. If property is missing or not a pattern, returns an empty list. | 
| List<String> | getHoverBackgroundColorAsString()Returns the fill color of the arcs when hovered as string. If property is missing or not a color, returns an empty list. | 
| List<Gradient> | getHoverBorderColorAsGradient()Returns the stroke gradients of the arcs in the data set when hovered. If property is missing or not a pattern, returns an empty list. | 
| List<String> | getHoverBorderColorAsString()Returns the stroke color of the arcs when hovered. | 
| List<Integer> | getHoverBorderWidth()Returns the stroke width of the arcs when hovered. | 
| WidthCallback<DatasetContext> | getHoverBorderWidthCallback()Returns the hover border width callback, if set, otherwise  null. | 
| protected ArrayInteger | getWidths(Key key,
         int defaultvalue)Returns an array of widths as integer | 
| void | setBorderWidth(NativeCallback borderWidthCallback)Sets the border width callback. | 
| void | setBorderWidth(WidthCallback<DatasetContext> borderWidthCallback)Sets the border width callback. | 
| protected void | setColors(Key key,
         IsColor... colors)Sets a color property in the dataset, setting a single value or an array. | 
| protected void | setColors(Key key,
         String... colors)Sets a color property in the dataset, setting a single value or an array. | 
| void | setHoverBackgroundColor(Gradient... colors)Sets the fill gradient of the arcs in the data set when hovered. | 
| void | setHoverBackgroundColor(IsColor... colors)Sets the fill color of the arcs when hovered. | 
| void | setHoverBackgroundColor(Pattern... colors)Sets the fill pattern of the arcs in the data set when hovered. | 
| void | setHoverBackgroundColor(String... colors)Sets the fill color of the arcs when hovered as string. | 
| void | setHoverBorderColor(Gradient... colors)Sets the stroke gradient of the arcs in the data set when hovered as gradient. | 
| void | setHoverBorderColor(IsColor... colors)Sets the stroke color of the arcs when hovered as string. | 
| void | setHoverBorderColor(String... colors)Sets the stroke color of the arcs when hovered as string. | 
| void | setHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback)Sets the hover border width callback. | 
| protected void | setWidths(Key key,
         int... widths)Sets a width property in the dataset, setting a single value or an array. | 
getBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBorderWidthcreateContext, 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, setParsingcheckAndAddToParent, 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, setValueOrArrayAndAddToParentcheckDefaultValuesArgument, 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, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabledextractScopeprotected HoverDataset(Type type, IsDefaultOptions defaultValues, boolean hidden)
type - chart type related to the data setdefaultValues - default optionshidden - if true, it will be initially hidden.protected void setColors(Key key, String... colors)
HoverFlexDatasetsetColors in class HoverFlexDatasetkey - property keycolors - colors value to be setprotected void setColors(Key key, IsColor... colors)
HoverFlexDatasetsetColors in class HoverFlexDatasetkey - property keycolors - colors value to be setprotected ArrayString getColors(Key key, String defaultvalue)
HoverFlexDatasetgetColors in class HoverFlexDatasetkey - property keydefaultvalue - default value if key does not existprotected void setWidths(Key key, int... widths)
HoverFlexDatasetsetWidths in class HoverFlexDatasetkey - property keywidths - widths value to be setprotected ArrayInteger getWidths(Key key, int defaultvalue)
HoverFlexDatasetgetWidths in class HoverFlexDatasetkey - property keydefaultvalue - default value if key does not existpublic WidthCallback<DatasetContext> getBorderWidthCallback()
null.nullpublic void setBorderWidth(WidthCallback<DatasetContext> borderWidthCallback)
borderWidthCallback - the border width callback to setpublic void setBorderWidth(NativeCallback borderWidthCallback)
borderWidthCallback - the border width callback to setpublic void setHoverBackgroundColor(IsColor... colors)
setHoverBackgroundColor in class HoverFlexDatasetcolors - the fill color of the arcs when hoveredpublic void setHoverBackgroundColor(String... colors)
setHoverBackgroundColor in class HoverFlexDatasetcolors - the fill color of the arcs when hovered as stringpublic void setHoverBackgroundColor(Pattern... colors)
setHoverBackgroundColor in class HoverFlexDatasetcolors - the fill pattern of the arcs in the data set when hovered.public void setHoverBackgroundColor(Gradient... colors)
setHoverBackgroundColor in class HoverFlexDatasetcolors - the fill gradient of the arcs in the data set when hovered.public List<String> getHoverBackgroundColorAsString()
getHoverBackgroundColorAsString in class HoverFlexDatasetpublic List<Pattern> getHoverBackgroundColorAsPatterns()
getHoverBackgroundColorAsPatterns in class HoverFlexDatasetpublic List<Gradient> getHoverBackgroundColorAsGradient()
getHoverBackgroundColorAsGradient in class HoverFlexDatasetpublic void setHoverBorderColor(IsColor... colors)
setHoverBorderColor in class HoverFlexDatasetcolors - the stroke color of the arcs when hovered as stringpublic void setHoverBorderColor(String... colors)
setHoverBorderColor in class HoverFlexDatasetcolors - the stroke color of the arcs when hovered as stringpublic void setHoverBorderColor(Gradient... colors)
setHoverBorderColor in class HoverFlexDatasetcolors - the stroke gradient of the arcs in the data set when hovered as gradient.public List<String> getHoverBorderColorAsString()
getHoverBorderColorAsString in class HoverFlexDatasetpublic List<Gradient> getHoverBorderColorAsGradient()
getHoverBorderColorAsGradient in class HoverFlexDatasetpublic List<Integer> getHoverBorderWidth()
getHoverBorderWidth in class HoverFlexDatasetpublic WidthCallback<DatasetContext> getHoverBorderWidthCallback()
null.null.public void setHoverBorderWidth(WidthCallback<DatasetContext> hoverBorderWidthCallback)
hoverBorderWidthCallback - the hover border width callback to set