public final class BubbleDataset extends HovingDataset implements HasDataPoints
| Modifier | Constructor and Description |
|---|---|
|
BubbleDataset()
Creates a dataset.
It uses the global options has default. |
|
BubbleDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.
|
protected |
BubbleDataset(Type type)
Creates the dataset using chart type related to the dataset.
|
protected |
BubbleDataset(Type type,
IsDefaultOptions defaultValues)
Creates the dataset using a default and chart type related to the dataset.
|
| Modifier and Type | Method and Description |
|---|---|
List<Double> |
getHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.
|
RadiusCallback |
getHitRadiusCallback()
Returns the hit radius callback, if set, otherwise
null. |
List<Double> |
getHoverRadius()
Returns the radius of the point when hovered.
|
RadiusCallback |
getHoverRadiusCallback()
Returns the hover radius callback, if set, otherwise
null. |
default int |
getOrder()
Returns the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
Orderer |
getOrderer()
Returns an order option manager instance.
|
List<PointStyle> |
getPointStyle()
Returns the style of the point.
|
PointStyleCallback |
getPointStyleCallback()
Returns the point style callback, if set, otherwise
null. |
List<Double> |
getRadius()
Returns the radius of the point shape.
|
RadiusCallback |
getRadiusCallback()
Returns the radius callback, if set, otherwise
null. |
List<Double> |
getRotation()
Returns the rotation of the point in degrees.
|
RotationCallback |
getRotationCallback()
Returns the rotation callback, if set, otherwise
null. |
void |
setHitRadius(double... hitRadius)
Sets the pixel size of the non-displayed point that reacts to mouse events.
|
void |
setHitRadius(RadiusCallback hitRadiusCallback)
Sets the hit radius callback.
|
void |
setHoverRadius(double... hoverRadius)
Sets the radius of the point when hovered.
|
void |
setHoverRadius(RadiusCallback hoverRadiusCallback)
Sets the hover radius callback.
|
default void |
setOrder(int order)
Sets the drawing order of dataset.
Also affects order for stacking, tooltip, and legend. |
void |
setPointStyle(PointStyle... pointStyle)
Sets the style of the point.
|
void |
setPointStyle(PointStyleCallback pointStyleCallback)
Sets the point style callback.
|
void |
setRadius(double... radius)
Sets the radius of the point shape.
|
void |
setRadius(RadiusCallback radiusCallback)
Sets the radius callback.
|
void |
setRotation(double... rotation)
Sets the rotation of the point in degrees.
|
void |
setRotation(RotationCallback rotationCallback)
Sets the rotation callback.
|
applyGradient, applyPattern, getHoverBackgroundColorAsGradient, getHoverBackgroundColorAsPatterns, getHoverBackgroundColorAsString, getHoverBorderColorAsGradient, getHoverBorderColorAsString, getHoverBorderWidth, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderColorgetBackgroundColor, getBackgroundColorAsGradient, getBackgroundColorAsPatterns, getBackgroundColorAsString, getBorderColor, getBorderColorAsGradient, getBorderColorAsString, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderColor, setBorderWidth, setHoverBorderWidthgetBackgroundColorCallback, 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, setOptionscheckValue, empty, getArrayValue, getNativeChart, 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, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typeclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetDataPoints, getDataPoints, setDataPoints, setDataPointsgetDatasetpublic BubbleDataset()
public BubbleDataset(IsDefaultOptions defaultValues)
defaultValues - default optionsprotected BubbleDataset(Type type)
type - chart type related to the datasetprotected BubbleDataset(Type type, IsDefaultOptions defaultValues)
type - chart type related to the datasetdefaultValues - default optionspublic Orderer getOrderer()
public void setPointStyle(PointStyle... pointStyle)
pointStyle - array of the style of the point.public List<PointStyle> getPointStyle()
public void setHitRadius(double... hitRadius)
hitRadius - array of the pixel size of the non-displayed point.public List<Double> getHitRadius()
public void setHoverRadius(double... hoverRadius)
hoverRadius - array of the radius of the point when hovered.public List<Double> getHoverRadius()
public void setRadius(double... radius)
radius - array of the radius of the point shape.public List<Double> getRadius()
public void setRotation(double... rotation)
rotation - array of the rotation of the point in degrees.public List<Double> getRotation()
public RadiusCallback getRadiusCallback()
null.null.public void setRadius(RadiusCallback radiusCallback)
radiusCallback - the radius callback to setpublic RadiusCallback getHitRadiusCallback()
null.null.public void setHitRadius(RadiusCallback hitRadiusCallback)
hitRadiusCallback - the hit radius callback to setpublic RadiusCallback getHoverRadiusCallback()
null.null.public void setHoverRadius(RadiusCallback hoverRadiusCallback)
hoverRadiusCallback - the hover radius callback to setpublic RotationCallback getRotationCallback()
null.null.public void setRotation(RotationCallback rotationCallback)
rotationCallback - the rotation callback to setpublic PointStyleCallback getPointStyleCallback()
null.null.public void setPointStyle(PointStyleCallback pointStyleCallback)
pointStyleCallback - the point style callback.public void setOrder(int order)
order - the drawing order of dataset.public int getOrder()