Class BubbleDataset
java.lang.Object
software.xdev.chartjs.model.dataset.Dataset<T,O>
software.xdev.chartjs.model.dataset.BackgroundBorderHoverDataset<T,O>
software.xdev.chartjs.model.dataset.RoundDataset<BubbleDataset,BubbleDataPoint>
software.xdev.chartjs.model.dataset.BubbleDataset
A collection of data points for a bubble chart.
For best results, ensure that each property is set with a list of equal length.
-
Field Summary
Fields inherited from class software.xdev.chartjs.model.dataset.RoundDataset
label
Fields inherited from class software.xdev.chartjs.model.dataset.BackgroundBorderHoverDataset
backgroundColor, borderColor, borderWidth, hoverBackgroundColor, hoverBorderColor, hoverBorderWidth
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionaddHoverRadius
(Integer hoverRadius) protected String
setHoverRadius
(List<Integer> hoverRadius) Additional radius to add to data radius on hover.setPointStyle
(PointStyle pointStyle) Methods inherited from class software.xdev.chartjs.model.dataset.RoundDataset
getLabel, setLabel
Methods inherited from class software.xdev.chartjs.model.dataset.BackgroundBorderHoverDataset
addBackgroundColor, addBackgroundColors, addBorderColor, addBorderColors, addBorderWidth, addHoverBackgroundColor, addHoverBorderColor, addHoverBorderWidth, getBackgroundColor, getBorderColor, getBorderWidth, getHoverBackgroundColor, getHoverBorderColor, getHoverBorderWidth, setBackgroundColor, setBackgroundColor, setBorderColor, setBorderColor, setBorderWidth, setBorderWidth, setHoverBackgroundColor, setHoverBackgroundColor, setHoverBorderColor, setHoverBorderColor, setHoverBorderWidth, setHoverBorderWidth
Methods inherited from class software.xdev.chartjs.model.dataset.Dataset
addData, addDataUnchecked, clearData, getData, getData, getType, self, setData, setData, setDataUnchecked, setDataUnchecked, setType, withDefaultType
-
Constructor Details
-
BubbleDataset
public BubbleDataset()
-
-
Method Details
-
defaultType
- Specified by:
defaultType
in classDataset<BubbleDataset,
BubbleDataPoint>
-
setHoverRadius
Additional radius to add to data radius on hover.
Each BubbleDataPoint in this BubbleDataset uses the hoverRadius at its corresponding index.
-
addHoverRadius
- See Also:
-
getHoverRadius
-
getPointStyle
-
setPointStyle
-