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()
IsDefaultOptionsElementgetBackgroundColorAsString in interface IsDefaultOptionsElementpublic int getBorderWidth()
IsDefaultOptionsElementgetBorderWidth in interface IsDefaultOptionsElementpublic String getBorderColorAsString()
IsDefaultOptionsElementgetBorderColorAsString in interface IsDefaultOptionsElementpublic double getRadius()
IsDefaultPointgetRadius in interface IsDefaultPointpublic PointStyle getPointStyle()
IsDefaultPointStyleHandlergetPointStyle in interface IsDefaultPointStyleHandlerpublic double getHitRadius()
IsDefaultPointgetHitRadius in interface IsDefaultPointpublic double getHoverRadius()
IsDefaultPointgetHoverRadius in interface IsDefaultPointpublic int getHoverBorderWidth()
IsDefaultOptionsElementgetHoverBorderWidth in interface IsDefaultOptionsElementpublic double getRotation()
IsDefaultPointgetRotation in interface IsDefaultPointpublic PointStyleType getPointStyleType()
IsDefaultPointStyleHandlergetPointStyleType in interface IsDefaultPointStyleHandlerpublic Canvas getPointStyleAsCanvas()
IsDefaultPointStyleHandlernull.getPointStyleAsCanvas in interface IsDefaultPointStyleHandlernull.public Img getPointStyleAsImage()
IsDefaultPointStyleHandlernull.getPointStyleAsImage in interface IsDefaultPointStyleHandlernull.public String getHoverBackgroundColorAsString()
IsDefaultOptionsElementgetHoverBackgroundColorAsString in interface IsDefaultOptionsElementpublic String getHoverBorderColorAsString()
IsDefaultOptionsElementgetHoverBorderColorAsString in interface IsDefaultOptionsElement