public final class DefaultChartPoint extends Object implements IsDefaultPoint
Modifier and Type | Method and Description |
---|---|
String |
getBackgroundColorAsString()
Returns the background color.
|
String |
getBorderColorAsString()
Returns the border color.
|
int |
getBorderWidth()
Returns the border width.
|
double |
getHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.
|
String |
getHoverBackgroundColorAsString()
Returns the background color when hovered.
|
String |
getHoverBorderColorAsString()
Returns the border color when hovered.
|
int |
getHoverBorderWidth()
Returns the border width when hovered.
|
double |
getHoverRadius()
Returns the radius of the point when hovered.
|
PointStyle |
getPointStyle()
Returns the style of the point.
|
Canvas |
getPointStyleAsCanvas()
Returns the style of the point as canvas.
If property is missing or not an canvas, returns null . |
Img |
getPointStyleAsImage()
Returns the style of the point as image.
If property is missing or not an image, returns null . |
PointStyleType |
getPointStyleType()
Returns the type of point style.
|
double |
getRadius()
Returns the radius of the point.
|
double |
getRotation()
Returns the point rotation (in degrees).
|
public String getBackgroundColorAsString()
IsDefaultOptionsElement
getBackgroundColorAsString
in interface IsDefaultOptionsElement
public int getBorderWidth()
IsDefaultOptionsElement
getBorderWidth
in interface IsDefaultOptionsElement
public String getBorderColorAsString()
IsDefaultOptionsElement
getBorderColorAsString
in interface IsDefaultOptionsElement
public double getRadius()
IsDefaultPoint
getRadius
in interface IsDefaultPoint
public PointStyle getPointStyle()
IsDefaultPointStyleHandler
getPointStyle
in interface IsDefaultPointStyleHandler
public double getHitRadius()
IsDefaultPoint
getHitRadius
in interface IsDefaultPoint
public double getHoverRadius()
IsDefaultPoint
getHoverRadius
in interface IsDefaultPoint
public int getHoverBorderWidth()
IsDefaultOptionsElement
getHoverBorderWidth
in interface IsDefaultOptionsElement
public double getRotation()
IsDefaultPoint
getRotation
in interface IsDefaultPoint
public PointStyleType getPointStyleType()
IsDefaultPointStyleHandler
getPointStyleType
in interface IsDefaultPointStyleHandler
public Canvas getPointStyleAsCanvas()
IsDefaultPointStyleHandler
null
.getPointStyleAsCanvas
in interface IsDefaultPointStyleHandler
null
.public Img getPointStyleAsImage()
IsDefaultPointStyleHandler
null
.getPointStyleAsImage
in interface IsDefaultPointStyleHandler
null
.public String getHoverBackgroundColorAsString()
IsDefaultOptionsElement
getHoverBackgroundColorAsString
in interface IsDefaultOptionsElement
public String getHoverBorderColorAsString()
IsDefaultOptionsElement
getHoverBorderColorAsString
in interface IsDefaultOptionsElement