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
labelFields 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 StringsetHoverRadius(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, setLabelMethods 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, setHoverBorderWidthMethods 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:
defaultTypein 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
-