public final class Point extends ChartContainer
LineChart,
BubbleChart| Constructor and Description |
|---|
Point(AbstractChart<?,?> chart)
Builds the object storing the chart instance.
|
| Modifier and Type | Method and Description |
|---|---|
IsColor |
getBackgroundColor()
Returns the background color.
|
java.lang.String |
getBackgroundColorAsString()
Returns the background color.
|
IsColor |
getBorderColor()
Returns the border color.
|
java.lang.String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderWidth()
Returns the border width.
|
protected java.lang.String |
getDefaultBackgroundColor()
Returns the default background color.
|
protected java.lang.String |
getDefaultBorderColor()
Returns the default border color.
|
protected int |
getDefaultBorderWidth()
Returns the default border width.
|
int |
getHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.
|
int |
getHoverBorderWidth()
Returns the border width of point when hovered.
|
int |
getHoverRadius()
Returns the radius of the point when hovered.
|
PointStyle |
getPointStyle()
Returns the style of the point.
|
int |
getRadius()
Returns the radius of the point when hovered.
|
void |
setBackgroundColor(IsColor backgroundColor)
Sets the background color.
|
void |
setBackgroundColor(java.lang.String backgroundColor)
Sets the background color.
|
void |
setBorderColor(IsColor borderColor)
Sets the border color.
|
void |
setBorderColor(java.lang.String borderColor)
Sets the border color.
|
void |
setBorderWidth(int borderWidth)
Sets the border width.
|
void |
setHitRadius(int hitRadius)
Sets the pixel size of the non-displayed point that reacts to mouse events.
|
void |
setHoverBorderWidth(int hoverBorderWidth)
Sets the border width of point when hovered.
|
void |
setHoverRadius(int hoverRadius)
Sets the radius of the point when hovered.
|
void |
setPointStyle(PointStyle pointStyle)
Sets the style of the point.
|
void |
setRadius(int radius)
Sets the radius of the point shape.
|
getChartcheckAndGetDoubleValues, checkAndGetEnumValues, checkAndGetIntegerValues, checkAndGetStringValues, checkAndSetDoubleValues, checkAndSetEnumValues, checkAndSetIntegerValues, checkAndSetStringValues, getDoubleArray, getIntegerArray, getJavaScriptObject, getObjectArray, getStringArray, getValue, getValue, getValue, getValue, getValue, getValue, getValue, has, has, hasToBeRegistered, isEmpty, keys, remove, remove, removeIfExists, setDoubleArray, setEnumValueArray, setIntegerArray, setObjectArray, setStringArray, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, setValue, toString, typepublic Point(AbstractChart<?,?> chart)
chart - chart instanceprotected java.lang.String getDefaultBackgroundColor()
protected int getDefaultBorderWidth()
protected java.lang.String getDefaultBorderColor()
public void setRadius(int radius)
radius - array of the radius of the point shape.public int getRadius()
public void setPointStyle(PointStyle pointStyle)
pointStyle - array of the style of the point.PointStylepublic PointStyle getPointStyle()
PointStylepublic void setHitRadius(int hitRadius)
hitRadius - the pixel size of the non-displayed point.public int getHitRadius()
public void setHoverRadius(int hoverRadius)
hoverRadius - the radius of the point when hovered.public int getHoverRadius()
public void setHoverBorderWidth(int hoverBorderWidth)
hoverBorderWidth - the border width of point when hovered.public int getHoverBorderWidth()
public void setBackgroundColor(IsColor backgroundColor)
backgroundColor - the background color.public void setBackgroundColor(java.lang.String backgroundColor)
backgroundColor - the background color.public java.lang.String getBackgroundColorAsString()
public IsColor getBackgroundColor()
public void setBorderWidth(int borderWidth)
borderWidth - the border width.public int getBorderWidth()
public void setBorderColor(IsColor borderColor)
borderColor - the border color.public void setBorderColor(java.lang.String borderColor)
borderColor - the border color.public java.lang.String getBorderColorAsString()
public IsColor getBorderColor()