public class BubbleChartDataSet extends ChartDataSet
| Constructor and Description |
|---|
BubbleChartDataSet() |
| Modifier and Type | Method and Description |
|---|---|
String |
encode()
Write the options of this dataSet
|
String |
getBackgroundColor()
Gets the backgroundColor
|
String |
getBorderColor()
Gets the borderColor
|
Number |
getBorderWidth()
Gets the borderWidth
|
List<BubblePoint> |
getData()
Gets the list of data in this dataSet
|
Number |
getHitRadius()
Gets the hitRadius
|
String |
getHoverBackgroundColor()
Gets the hoverBackgroundColor
|
String |
getHoverBorderColor()
Gets the hoverBorderColor
|
Number |
getHoverBorderWidth()
Gets the hoverBorderWidth
|
Number |
getHoverRadius()
Gets the hoverRadius
|
String |
getLabel()
Gets the label
|
String |
getPointStyle()
Gets the pointStyle
|
Number |
getRadius()
Gets the radius
|
void |
setBackgroundColor(String backgroundColor)
Sets the backgroundColor
|
void |
setBorderColor(String borderColor)
Sets the borderColor
|
void |
setBorderWidth(Number borderWidth)
Sets the borderWidth
|
void |
setData(List<BubblePoint> data)
Sets the list of data in this dataSet
|
void |
setHitRadius(Number hitRadius)
Sets the hitRadius
|
void |
setHoverBackgroundColor(String hoverBackgroundColor)
Sets the hoverBackgroundColor
|
void |
setHoverBorderColor(String hoverBorderColor)
Sets the hoverBorderColor
|
void |
setHoverBorderWidth(Number hoverBorderWidth)
Sets the hoverBorderWidth
|
void |
setHoverRadius(Number hoverRadius)
Sets the hoverRadius
|
void |
setLabel(String label)
Sets the label
|
void |
setPointStyle(String pointStyle)
Sets the pointStyle
|
void |
setRadius(Number radius)
Sets the radius
|
isHidden, setHiddenpublic List<BubblePoint> getData()
BubblePoint> list of datapublic void setData(List<BubblePoint> data)
data - List<BubblePoint> list of datapublic String getLabel()
public void setLabel(String label)
label - The label for the dataset which appears in the legend and tooltipspublic String getBackgroundColor()
public void setBackgroundColor(String backgroundColor)
backgroundColor - bubble background colorpublic String getBorderColor()
public void setBorderColor(String borderColor)
borderColor - bubble border colorpublic Number getBorderWidth()
public void setBorderWidth(Number borderWidth)
borderWidth - bubble border width (in pixels)public String getHoverBackgroundColor()
public void setHoverBackgroundColor(String hoverBackgroundColor)
hoverBackgroundColor - bubble background color when hoveredpublic String getHoverBorderColor()
public void setHoverBorderColor(String hoverBorderColor)
hoverBorderColor - bubble border color hoveredpublic Number getHoverBorderWidth()
public void setHoverBorderWidth(Number hoverBorderWidth)
hoverBorderWidth - bubble border width when hovered (in pixels)public Number getHoverRadius()
public void setHoverRadius(Number hoverRadius)
hoverRadius - bubble additional radius when hovered (in pixels)public Number getHitRadius()
public void setHitRadius(Number hitRadius)
hitRadius - bubble additional radius for hit detection (in pixels)public String getPointStyle()
public void setPointStyle(String pointStyle)
pointStyle - bubble shape stylepublic Number getRadius()
public void setRadius(Number radius)
radius - bubble radius (in pixels)public String encode() throws IOException
encode in class ChartDataSetIOException - If an I/O error occursCopyright © 2020. All rights reserved.