Package org.pepstock.charba.client.data
Class PolarAreaDataset
-
- All Implemented Interfaces:
HasCallbackScope
,HasDataset
,IsDefaultAnimationContainer
,IsDefaultAnimationTransition
,HasAnimationOptions
public class PolarAreaDataset extends HoverDataset
The polar area chart allows a number of properties to be specified for each dataset. These are used to set display properties for a specific dataset.- Author:
- Andrea "Stock" Stocchero
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class org.pepstock.charba.client.data.Dataset
Dataset.CanvasObjectProperty, Dataset.CommonProperty
-
-
Field Summary
-
Fields inherited from class org.pepstock.charba.client.data.Dataset
DEFAULT_HIDDEN, DEFAULT_NORMALIZED, DEFAULT_PARSING
-
-
Constructor Summary
Constructors Modifier Constructor Description PolarAreaDataset()
Creates a dataset.
It uses the global options has default.PolarAreaDataset(boolean hidden)
Creates a dataset.
It uses the global options has default.PolarAreaDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.PolarAreaDataset(IsDefaultOptions defaultValues, boolean hidden)
Creates the dataset using a default.protected
PolarAreaDataset(Type type, boolean hidden)
Creates the dataset using chart type related to the dataset.protected
PolarAreaDataset(Type type, IsDefaultOptions defaultValues, boolean hidden)
Creates the dataset using a default and chart type related to the dataset.
-
Method Summary
All Methods Instance Methods Concrete Methods Default Methods Modifier and Type Method 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, otherwisenull
.org.pepstock.charba.client.data.BorderAlignHandler
getBorderAlignHandler()
default void
setBorderAlign(List<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(NativeCallback borderAlignCallback)
Sets the border align callback.default void
setBorderAlign(BorderAlign... align)
Sets the property to set the border alignment on chart datasets.-
Methods inherited from class org.pepstock.charba.client.data.HoverDataset
getBorderWidthCallback, getColors, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderWidth, getHoverBorderWidthCallback, getWidths, setBorderWidth, setBorderWidth, setColors, setColors, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth, setWidths
-
Methods inherited from class org.pepstock.charba.client.data.HoverFlexDataset
getBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBorderWidth
-
Methods inherited from class org.pepstock.charba.client.data.Dataset
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
-
Methods inherited from class org.pepstock.charba.client.commons.AbstractNode
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
-
Methods inherited from class org.pepstock.charba.client.commons.NativeObjectContainer
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
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.pepstock.charba.client.options.HasAnimationOptions
getAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabled
-
-
-
-
Constructor Detail
-
PolarAreaDataset
public PolarAreaDataset()
Creates a dataset.
It uses the global options has default.
-
PolarAreaDataset
public PolarAreaDataset(boolean hidden)
Creates a dataset.
It uses the global options has default.- Parameters:
hidden
- iftrue
, it will be initially hidden.
-
PolarAreaDataset
public PolarAreaDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.- Parameters:
defaultValues
- default options
-
PolarAreaDataset
public PolarAreaDataset(IsDefaultOptions defaultValues, boolean hidden)
Creates the dataset using a default.- Parameters:
defaultValues
- default optionshidden
- iftrue
, it will be initially hidden.
-
PolarAreaDataset
protected PolarAreaDataset(Type type, boolean hidden)
Creates the dataset using chart type related to the dataset.- Parameters:
type
- chart type related to the datasethidden
- iftrue
, it will be initially hidden.
-
PolarAreaDataset
protected PolarAreaDataset(Type type, IsDefaultOptions defaultValues, boolean hidden)
Creates the dataset using a default and chart type related to the dataset.- Parameters:
type
- chart type related to the datasetdefaultValues
- default optionshidden
- iftrue
, it will be initially hidden.
-
-
Method Detail
-
getBorderAlignHandler
public final org.pepstock.charba.client.data.BorderAlignHandler getBorderAlignHandler()
-
setBorderAlign
public default void setBorderAlign(BorderAlign... align)
Sets the property to set the border alignment on chart datasets.- Parameters:
align
- the property to set the border alignment on chart datasets
-
setBorderAlign
public default void setBorderAlign(List<BorderAlign> align)
Sets the property to set the border alignment on chart datasets.- Parameters:
align
- the property to set the border alignment on chart datasets
-
getBorderAlign
public default List<BorderAlign> getBorderAlign()
Returns the property to set the border alignment on chart datasets.- Returns:
- the property to set the border alignment on chart datasets.
-
getBorderAlignCallback
public default BorderAlignCallback getBorderAlignCallback()
Returns the border align callback, if set, otherwisenull
.- Returns:
- the border align callback, if set, otherwise
null
.
-
setBorderAlign
public default void setBorderAlign(BorderAlignCallback borderAlignCallback)
Sets the border align callback.- Parameters:
borderAlignCallback
- the border align callback to set
-
setBorderAlign
public default void setBorderAlign(NativeCallback borderAlignCallback)
Sets the border align callback.- Parameters:
borderAlignCallback
- the border align callback to set
-
-