public final class BubbleDataset extends Dataset implements HasDataPoints
| Constructor and Description |
|---|
BubbleDataset()
Creates a dataset.
It uses the global options has default. |
BubbleDataset(IsDefaultOptions defaultValues)
Creates the dataset using a default.
|
| Modifier and Type | Method and Description |
|---|---|
List<IsColor> |
getBackgroundColor()
Returns the fill color of the arcs in the dataset.
|
List<Gradient> |
getBackgroundColorAsGradient()
Returns the fill gradient of the arcs in the dataset.
|
List<Pattern> |
getBackgroundColorAsPatterns()
Returns the fill patters of the arcs in the dataset.
|
List<String> |
getBackgroundColorAsString()
Returns the fill color of the arcs in the dataset as string.
|
List<IsColor> |
getBorderColor()
Returns the border color of the arcs in the dataset.
|
List<Gradient> |
getBorderColorAsGradient()
Returns the border gradient of the arcs in the dataset as string.
|
List<String> |
getBorderColorAsString()
Returns the border color of the arcs in the dataset as string.
|
List<Integer> |
getBorderWidth()
Returns the border width of the arcs in the dataset.
|
List<Double> |
getData()
Returns the data property of a dataset for a chart is specified as an array of numbers.
|
List<Double> |
getData(boolean binding)
Returns the data property of a dataset for a chart is specified as an array of numbers.
|
List<DataPoint> |
getDataPoints()
Returns the data property of a dataset for a chart is specified as an array of data points
|
List<DataPoint> |
getDataPoints(boolean binding)
Returns the data property of a dataset for a chart is specified as an array of data points
|
List<Double> |
getHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.
|
List<IsColor> |
getHoverBackgroundColor()
Returns the fill color of the arcs when hovered.
|
List<Gradient> |
getHoverBackgroundColorAsGradient()
Returns the fill gradients of the arcs in the dataset when hovered.
|
List<Pattern> |
getHoverBackgroundColorAsPatterns()
Returns the fill patterns of the arcs in the dataset when hovered.
|
List<String> |
getHoverBackgroundColorAsString()
Returns the fill color of the arcs when hovered as string.
|
List<IsColor> |
getHoverBorderColor()
Returns the stroke color of the arcs when hovered.
|
List<Gradient> |
getHoverBorderColorAsGradient()
Returns the stroke gradients of the arcs in the dataset when hovered.
|
List<String> |
getHoverBorderColorAsString()
Returns the stroke color of the arcs when hovered.
|
List<Integer> |
getHoverBorderWidth()
Returns the stroke width of the arcs when hovered.
|
List<Double> |
getHoverRadius()
Returns the radius of the point when hovered.
|
List<PointStyle> |
getPointStyle()
Returns the style of the point.
|
List<Double> |
getRadius()
Returns the radius of the point shape.
|
List<Double> |
getRotation()
Returns the rotation of the point in degrees.
|
void |
setBackgroundColor(Gradient... backgroundColor)
Sets the fill gradient of the arcs in the dataset.
|
void |
setBackgroundColor(IsColor... backgroundColor)
Sets the fill color of the arcs in the dataset.
|
void |
setBackgroundColor(Pattern... backgroundColor)
Sets the fill pattern of the arcs in the dataset.
|
void |
setBackgroundColor(String... backgroundColor)
Sets the fill color of the arcs in the dataset.
|
void |
setBorderColor(Gradient... borderColor)
Sets the border gradient of the arcs in the dataset as gradient.
|
void |
setBorderColor(IsColor... borderColor)
Sets the border color of the arcs in the dataset.
|
void |
setBorderColor(String... borderColor)
Sets the border color of the arcs in the dataset as string.
|
void |
setBorderWidth(int... borderWidth)
Sets the border width of the arcs in the dataset.
|
void |
setData(double... values)
Sets the data property of a dataset for a chart is specified as an array of numbers.
|
void |
setData(List<Double> values)
Sets the data property of a dataset for a chart is specified as an array of numbers.
|
void |
setDataPoints(DataPoint... datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|
void |
setDataPoints(List<DataPoint> datapoints)
Sets the data property of a dataset for a chart is specified as an array of data points.
|
void |
setHitRadius(double... hitRadius)
Sets the pixel size of the non-displayed point that reacts to mouse events.
|
void |
setHoverBackgroundColor(Gradient... colors)
Sets the fill gradient of the arcs in the dataset 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 dataset 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 dataset 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(int... widths)
Sets the stroke width of the arcs when hovered.
|
void |
setHoverRadius(double... hoverRadius)
Sets the radius of the point when hovered.
|
void |
setPointStyle(PointStyle... pointStyle)
Sets the style of the point.
|
void |
setRadius(double... radius)
Sets the radius of the point shape.
|
void |
setRotation(double... rotation)
Sets the rotation of the point in degrees.
|
getDataType, getId, getLabel, getOptions, getType, hasOptions, isHidden, setHidden, setLabel, setOptions, setTypegetArrayValue, getNativeObject, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValue, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, getValueOrArray, has, has, keys, remove, remove, removeIfExists, setArrayValue, setArrayValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, setValueOrArray, toJSON, typepublic BubbleDataset()
public BubbleDataset(IsDefaultOptions defaultValues)
defaultValues - default optionspublic 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 void setDataPoints(DataPoint... datapoints)
setDataPoints in interface HasDataPointsdatapoints - an array of data pointspublic void setDataPoints(List<DataPoint> datapoints)
setDataPoints in interface HasDataPointsdatapoints - a list of data pointspublic List<DataPoint> getDataPoints()
getDataPoints in interface HasDataPointsDataType.points.public List<DataPoint> getDataPoints(boolean binding)
getDataPoints in interface HasDataPointsbinding - if true binds the new array list into containerDataType.points.public void setData(double... values)
Datasetpublic void setData(List<Double> values)
Datasetpublic List<Double> getData()
DatasetgetData in class DatasetDataType.numbers.public List<Double> getData(boolean binding)
DatasetgetData in class Datasetbinding - if true binds the new array list into containerDataType.numbers.public void setBackgroundColor(IsColor... backgroundColor)
backgroundColor - the fill color of the arcs in the dataset.public void setBackgroundColor(String... backgroundColor)
backgroundColor - the fill color of the arcs in the dataset.public void setBackgroundColor(Pattern... backgroundColor)
backgroundColor - the fill pattern of the arcs in the dataset.public void setBackgroundColor(Gradient... backgroundColor)
backgroundColor - the fill gradient of the arcs in the dataset.public List<String> getBackgroundColorAsString()
public List<IsColor> getBackgroundColor()
public List<Pattern> getBackgroundColorAsPatterns()
public List<Gradient> getBackgroundColorAsGradient()
public void setBorderColor(IsColor... borderColor)
borderColor - the border color of the arcs in the dataset.public void setBorderColor(String... borderColor)
borderColor - the border color of the arcs in the dataset as string.public void setBorderColor(Gradient... borderColor)
borderColor - the border gradient of the arcs in the dataset as gradient.public List<String> getBorderColorAsString()
public List<IsColor> getBorderColor()
public List<Gradient> getBorderColorAsGradient()
public void setBorderWidth(int... borderWidth)
borderWidth - the border width of the arcs in the dataset.public List<Integer> getBorderWidth()
public void setHoverBackgroundColor(IsColor... colors)
colors - the fill color of the arcs when hoveredpublic void setHoverBackgroundColor(String... colors)
colors - the fill color of the arcs when hovered as stringpublic void setHoverBackgroundColor(Pattern... colors)
colors - the fill pattern of the arcs in the dataset when hovered.public void setHoverBackgroundColor(Gradient... colors)
colors - the fill gradient of the arcs in the dataset when hovered.public List<String> getHoverBackgroundColorAsString()
public List<IsColor> getHoverBackgroundColor()
public List<Pattern> getHoverBackgroundColorAsPatterns()
public List<Gradient> getHoverBackgroundColorAsGradient()
public void setHoverBorderColor(IsColor... colors)
colors - the stroke color of the arcs when hovered as string.public void setHoverBorderColor(String... colors)
colors - the stroke color of the arcs when hovered as string.public void setHoverBorderColor(Gradient... colors)
colors - the stroke gradient of the arcs in the dataset when hovered as gradient.public List<String> getHoverBorderColorAsString()
public List<IsColor> getHoverBorderColor()
public List<Gradient> getHoverBorderColorAsGradient()
public void setHoverBorderWidth(int... widths)
widths - the stroke width of the arcs when hovered.