public class BubbleDataset extends RoundDataset<BubbleDataset,BubbleDataPoint>
A collection of data points for a bubble chart.
For best results, ensure that each property is set with a list of equal length.
label
backgroundColor, borderColor, borderWidth, hoverBackgroundColor, hoverBorderColor, hoverBorderWidth
Constructor and Description |
---|
BubbleDataset() |
Modifier and Type | Method and Description |
---|---|
BubbleDataset |
addHoverRadius(Integer hoverRadius) |
BubbleDataset |
setBackgroundColor(List<Color> backgroundColor)
The fill color of the bubbles.
|
BubbleDataset |
setBorderColor(List<Color> borderColor)
The stroke color of the bubbles.
|
BubbleDataset |
setBorderWidth(List<Integer> borderWidth)
The stroke width of bubble in pixels.
|
BubbleDataset |
setHoverBackgroundColor(List<Color> hoverBackgroundColor)
The fill color of the bubbles when hovered.
|
BubbleDataset |
setHoverBorderColor(List<Color> hoverBorderColor)
The stroke color of the bubbles when hovered.
|
BubbleDataset |
setHoverBorderWidth(List<Integer> hoverBorderWidth)
The stroke width of the bubbles when hovered.
|
BubbleDataset |
setHoverRadius(List<Integer> hoverRadius)
Additional radius to add to data radius on hover.
|
getLabel, setLabel
addBackgroundColor, addBackgroundColors, addBorderColor, addBorderColors, addBorderWidth, addHoverBackgroundColor, addHoverBorderColor, addHoverBorderWidth, getBackgroundColor, getBorderColor, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, getHoverBorderWidth, setBackgroundColor, setBorderColor, setBorderWidth, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderWidth
public BubbleDataset setBackgroundColor(List<Color> backgroundColor)
The fill color of the bubbles.
Each BubbleDataPoint in this BubbleDataset uses the backgroundColor at its corresponding index.
setBackgroundColor
in class BackgroundBorderHoverDataset<BubbleDataset,BubbleDataPoint>
public BubbleDataset setBorderColor(List<Color> borderColor)
The stroke color of the bubbles.
Each BubbleDataPoint in this BubbleDataset uses the borderColor at its corresponding index.
setBorderColor
in class BackgroundBorderHoverDataset<BubbleDataset,BubbleDataPoint>
public BubbleDataset setBorderWidth(List<Integer> borderWidth)
The stroke width of bubble in pixels.
Each BubbleDataPoint in this BubbleDataset uses the borderWidth at the its corresponding index.
setBorderWidth
in class BackgroundBorderHoverDataset<BubbleDataset,BubbleDataPoint>
public BubbleDataset setHoverBackgroundColor(List<Color> hoverBackgroundColor)
The fill color of the bubbles when hovered.
Each BubbleDataPoint in this BubbleDataset uses the hoverBackgroundColor at its corresponding index.
setHoverBackgroundColor
in class BackgroundBorderHoverDataset<BubbleDataset,BubbleDataPoint>
public BubbleDataset setHoverBorderColor(List<Color> hoverBorderColor)
The stroke color of the bubbles when hovered.
Each BubbleDataPoint in this BubbleDataset uses the hoverBorderColor at its corresponding index.
setHoverBorderColor
in class BackgroundBorderHoverDataset<BubbleDataset,BubbleDataPoint>
public BubbleDataset setHoverBorderWidth(List<Integer> hoverBorderWidth)
The stroke width of the bubbles when hovered.
Each BubbleDataPoint in this BubbleDataset uses the hoverBorderWidth at its corresponding index.
setHoverBorderWidth
in class BackgroundBorderHoverDataset<BubbleDataset,BubbleDataPoint>
public BubbleDataset setHoverRadius(List<Integer> hoverRadius)
Additional radius to add to data radius on hover.
Each BubbleDataPoint in this BubbleDataset uses the hoverRadius at its corresponding index.
public BubbleDataset addHoverRadius(Integer hoverRadius)
setHoverRadius(List)
Copyright © 2017. All rights reserved.