public final class BubbleMapDataset extends BubbleDataset
BubbleDataset
with additional options for bubble map charts.Dataset.CanvasObjectProperty, Dataset.CommonProperty
DEFAULT_HIDDEN, DEFAULT_NORMALIZED, DEFAULT_PARSING
Constructor and Description |
---|
BubbleMapDataset()
Creates a data set.
It uses the global options has default. |
BubbleMapDataset(IsDefaultOptions defaultValues)
Creates a data set setting the defaults value.
|
Modifier and Type | Method and Description |
---|---|
default ClipMap |
getClipMap()
Returns whether to clip the rendering to the chart area of the graph.
|
List<Double> |
getData(boolean binding)
Throws an exception because not available.
|
List<DataPoint> |
getDataPoints(boolean binding)
Throws an exception because not available.
|
org.pepstock.charba.client.geo.GeoDatasetHandler<BubbleMapDataPoint> |
getHandler()
Returns the data set options handler.
|
default int |
getOrder()
Returns the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
default List<Feature> |
getOutline()
Returns the outline used to scale and centralize the projection in the chart area.
|
default List<PointStyle> |
getPointStyle()
Returns the style of the point.
|
default List<Canvas> |
getPointStyleAsCanvas()
Returns the style of the point as canvas.
If property is missing or not an canvas, returns null . |
default List<Img> |
getPointStyleAsImages()
Returns the style of the point as image.
If property is missing or not an image, returns null . |
default PointStyleCallback |
getPointStyleCallback()
Returns the point style callback, if set, otherwise
null . |
default PointStyleType |
getPointStyleType()
Returns the type of point style.
|
default Graticule |
getShowGraticule()
Returns the graticule to render the lines in the background.
|
default List<T> |
getValues()
Returns the data property of a data set for a chart is specified as an array of
GeoDataPoint . |
default List<T> |
getValues(boolean binding)
Returns the data property of a data set for a chart is specified as an array of
GeoDataPoint . |
default boolean |
isClipMap()
Returns whether to clip the rendering to the chart area of the graph.
|
default boolean |
isShowGraticule()
Returns
true to render a graticule in the background. |
default boolean |
isShowOutline()
Returns
true to render the outline in the background. |
default void |
setClipMap(boolean clipMap)
Sets whether to clip the rendering to the chart area of the graph.
|
default void |
setClipMap(ClipMap clipMap)
Sets whether to clip the rendering to the chart area of the graph.
|
void |
setData(double... values)
Throws an exception because not available.
|
void |
setData(List<Double> values)
Throws an exception because not available.
|
void |
setDataPoints(DataPoint... datapoints)
Throws an exception because not available.
|
void |
setDataPoints(List<DataPoint> datapoints)
Throws an exception because not available.
|
default void |
setOrder(int order)
Sets the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
default void |
setOutline(Feature... outline)
Sets the outline used to scale and centralize the projection in the chart area.
|
default void |
setOutline(List<Feature> outline)
Sets the outline used to scale and centralize the projection in the chart area.
|
default void |
setPointStyle(Canvas... pointStyle)
Sets the style of the point as canvas.
|
default void |
setPointStyle(Img... pointStyle)
Sets the style of the point as image.
|
default void |
setPointStyle(PointStyle... pointStyle)
Sets the style of the point.
|
default void |
setPointStyle(PointStyleCallback pointStyleCallback)
Sets the point style callback.
|
default void |
setShowGraticule(boolean showGraticule)
Sets
true to render the lines in the background. |
default void |
setShowGraticule(Graticule showGraticule)
Sets the graticule object to render the lines in the background.
|
default void |
setShowOutline(boolean showOutline)
Sets
true to render the outline in the background. |
default void |
setValues(List<T> values)
Sets the data property of a data set for a chart is specified as an array of
GeoDataPoint . |
default void |
setValues(T[] values)
Sets the data property of a data set for a chart is specified as an array of
GeoDataPoint . |
getDefaultBackgroundColorAsString, getDefaultBorderColorAsString, getDefaultBorderWidth, getDefaultHoverBackgroundColorAsString, getDefaultHoverBorderColorAsString, getDefaultHoverBorderWidth, getHitRadius, getHitRadiusCallback, getHoverRadius, getHoverRadiusCallback, getOrderHandler, getPointStyleHandler, getRadius, getRadiusCallback, getRotation, getRotationCallback, setHitRadius, setHitRadius, setHitRadius, setHoverRadius, setHoverRadius, setHoverRadius, setRadius, setRadius, setRadius, setRotation, setRotation, setRotation
getBorderWidthCallback, getColors, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderWidth, getHoverBorderWidthCallback, getWidths, setBorderWidth, setBorderWidth, setColors, setColors, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth, setWidths
getBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBorderWidth
createContext, getAnimationContainer, getBackgroundColorCallback, getBorderColorCallback, getClip, getClipAsObject, getData, getDataCount, getDataset, getDataType, getDefaultValues, getHoverBackgroundColorCallback, getHoverBorderColorCallback, getId, getLabel, getOptions, getOptions, getScope, getType, getTypedDataset, hasOptions, invokeColorCallback, isClip, isHidden, isNormalized, isParsing, removeOptions, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setClip, setClip, setClip, setHidden, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setLabel, setNormalized, setOptions, setOptions, setParsing
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
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
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getDataPoints
getDataset
getAnimation, getAnimations, getTransitions, isAnimationEnabled, setAnimationEnabled
extractScope
public BubbleMapDataset()
public BubbleMapDataset(IsDefaultOptions defaultValues)
defaultValues
- default optionspublic org.pepstock.charba.client.geo.GeoDatasetHandler<BubbleMapDataPoint> getHandler()
public void setDataPoints(DataPoint... datapoints)
setDataPoints
in interface HasDataPoints
datapoints
- ignored because will throw an exceptionpublic void setDataPoints(List<DataPoint> datapoints)
setDataPoints
in interface HasDataPoints
datapoints
- ignored because will throw an exceptionpublic List<DataPoint> getDataPoints(boolean binding)
getDataPoints
in interface HasDataPoints
binding
- ignored because will throw an exceptionpublic void setData(double... values)
public void setValues(T[] values)
GeoDataPoint
.values
- an array of GeoDataPoint
public void setValues(List<T> values)
GeoDataPoint
.values
- an array of GeoDataPoint
public List<T> getValues()
GeoDataPoint
.GeoDataPoint
.public List<T> getValues(boolean binding)
GeoDataPoint
.binding
- if true
binds the new array list in the containerGeoDataPoint
.public void setOutline(Feature... outline)
outline
- the outline used to scale and centralize the projection in the chart areapublic void setOutline(List<Feature> outline)
outline
- the outline used to scale and centralize the projection in the chart areapublic List<Feature> getOutline()
public void setShowOutline(boolean showOutline)
true
to render the outline in the background.showOutline
- true
to render the outline in the backgroundpublic boolean isShowOutline()
true
to render the outline in the background.true
to render the outline in the backgroundpublic void setShowGraticule(boolean showGraticule)
true
to render the lines in the background.showGraticule
- true
to render the lines in the backgroundpublic void setShowGraticule(Graticule showGraticule)
showGraticule
- the graticule to render the lines in the backgroundpublic boolean isShowGraticule()
true
to render a graticule in the background.true
to render a graticule in the backgroundpublic Graticule getShowGraticule()
null
is any object has been setpublic void setClipMap(ClipMap clipMap)
clipMap
- whether to clip the rendering to the chart area of the graphpublic ClipMap getClipMap()
public void setClipMap(boolean clipMap)
clipMap
- whether to clip the rendering to the chart area of the graphpublic boolean isClipMap()
public void setOrder(int order)
order
- the drawing order of dataset.public int getOrder()
public void setPointStyle(PointStyle... pointStyle)
pointStyle
- array of the style of the point.public List<PointStyle> getPointStyle()
null
if point style is set as imagepublic void setPointStyle(Img... pointStyle)
pointStyle
- image element of the style of the point as image.public PointStyleType getPointStyleType()
public List<Img> getPointStyleAsImages()
null
.null
.public void setPointStyle(Canvas... pointStyle)
pointStyle
- canvas element of the style of the point as canvas.public List<Canvas> getPointStyleAsCanvas()
null
.null
.public PointStyleCallback getPointStyleCallback()
null
.null
.public void setPointStyle(PointStyleCallback pointStyleCallback)
pointStyleCallback
- the point style callback.