public class RadarDataset extends Dataset
Constructor and Description |
---|
RadarDataset() |
Modifier and Type | Method and Description |
---|---|
IsColor |
getBackgroundColor()
Returns the fill color under the line.
|
java.lang.String |
getBackgroundColorAsString()
Returns the fill color under the line.
|
CapStyle |
getBorderCapStyle()
Returns how the end points of every line are drawn.
|
IsColor |
getBorderColor()
Returns the color of the line.
|
java.lang.String |
getBorderColorAsString()
Returns the color of the line.
|
java.util.List<java.lang.Integer> |
getBorderDash()
Returns the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
|
int |
getBorderDashOffset()
Returns the line dash pattern offset or "phase".
|
JoinStyle |
getBorderJoinStyle()
Returns how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified endpoints and control points are exactly at the same position, are skipped).
There are three possible values for this property: round, bevel and miter. |
int |
getBorderWidth()
Returns the width of the line in pixels.
|
Fill |
getFill()
Returns how to fill the area under the line.
|
double |
getLineTension()
Returns curve tension of the line.
|
java.util.List<IsColor> |
getPointBackgroundColor()
Returns the fill color for points.
|
java.util.List<java.lang.String> |
getPointBackgroundColorAsString()
Returns the fill color for points.
|
java.util.List<IsColor> |
getPointBorderColor()
Returns the border color for points.
|
java.util.List<java.lang.String> |
getPointBorderColorAsString()
Returns the border color for points.
|
java.util.List<java.lang.Integer> |
getPointBorderWidth()
Returns the width of the point border in pixels.
|
java.util.List<java.lang.Double> |
getPointHitRadius()
Returns the pixel size of the non-displayed point that reacts to mouse events.
|
java.util.List<IsColor> |
getPointHoverBackgroundColor()
Returns the point background color when hovered.
|
java.util.List<java.lang.String> |
getPointHoverBackgroundColorAsString()
Returns the point background color when hovered.
|
java.util.List<IsColor> |
getPointHoverBorderColor()
Returns the point border color when hovered.
|
java.util.List<java.lang.String> |
getPointHoverBorderColorAsString()
Returns the point border color when hovered.
|
java.util.List<java.lang.Integer> |
getPointHoverBorderWidth()
Returns the border width of point when hovered.
|
java.util.List<java.lang.Double> |
getPointHoverRadius()
Returns the radius of the point when hovered.
|
java.util.List<java.lang.Double> |
getPointRadius()
Returns the radius of the point shape.
|
JsEnumValueArrayList<PointStyle> |
getPointStyle()
Returns the style of the point.
|
void |
setBackgroundColor(IsColor backgroundColor)
Sets the fill color under the line.
|
void |
setBackgroundColor(java.lang.String backgroundColor)
Sets the fill color under the line.
|
void |
setBorderCapStyle(CapStyle borderCapStyle)
Sets how the end points of every line are drawn.
|
void |
setBorderColor(IsColor borderColor)
Sets the color of the line.
|
void |
setBorderColor(java.lang.String borderColor)
Sets the color of the line.
|
void |
setBorderDash(int... borderDash)
Sets the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.
|
void |
setBorderDashOffset(int borderDashOffset)
Sets the line dash pattern offset or "phase".
|
void |
setBorderJoinStyle(JoinStyle borderJoinStyle)
Sets how two connecting segments (of lines, arcs or curves) with non-zero lengths in a shape are joined together (degenerate segments with zero lengths, whose specified endpoints and control points are exactly at the same position, are skipped).
There are three possible values for this property: round, bevel and miter. |
void |
setBorderWidth(int borderWidth)
Sets the width of the line in pixels.
|
void |
setFill(Fill fill)
Sets how to fill the area under the line.
|
void |
setLineTension(double lineTension)
Sets curve tension of the line.
|
void |
setPointBackgroundColor(IsColor... pointBackgroundColor)
Sets the fill color for points.
|
void |
setPointBackgroundColor(java.lang.String... pointBackgroundColor)
Sets the fill color for points.
|
void |
setPointBorderColor(IsColor... pointBorderColor)
Sets the border color for points.
|
void |
setPointBorderColor(java.lang.String... pointBorderColor)
Sets the border color for points.
|
void |
setPointBorderWidth(int... pointBorderWidth)
Sets the width of the point border in pixels.
|
void |
setPointHitRadius(double... pointHitRadius)
Sets the pixel size of the non-displayed point that reacts to mouse events.
|
void |
setPointHoverBackgroundColor(IsColor... pointHoverBackgroundColor)
Sets the point background color when hovered.
|
void |
setPointHoverBackgroundColor(java.lang.String... pointHoverBackgroundColor)
Sets the point background color when hovered.
|
void |
setPointHoverBorderColor(IsColor... pointHoverBorderColor)
Sets the point border color when hovered.
|
void |
setPointHoverBorderColor(java.lang.String... pointHoverBorderColor)
Sets the point border color when hovered.
|
void |
setPointHoverBorderWidth(int... pointHoverBorderWidth)
Sets the border width of point when hovered.
|
void |
setPointHoverRadius(double... pointHoverRadius)
Sets the radius of the point when hovered.
|
void |
setPointRadius(double... pointRadius)
Sets the radius of the point shape.
|
void |
setPointStyle(PointStyle... pointStyle)
Sets the style of the point.
|
getData, getLabel, getType, isHidden, setData, setData, setHidden, setLabel, setType
checkAndGetDoubleValues, 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, type
public void setBackgroundColor(IsColor backgroundColor)
backgroundColor
- the fill color under the line.public void setBackgroundColor(java.lang.String backgroundColor)
backgroundColor
- the fill color under the line.public java.lang.String getBackgroundColorAsString()
rgba(0,0,0,0.1)
public IsColor getBackgroundColor()
rgba(0,0,0,0.1)
public void setBorderColor(IsColor borderColor)
borderColor
- the color of the line.public void setBorderColor(java.lang.String borderColor)
borderColor
- the color of the line.public java.lang.String getBorderColorAsString()
rgba(0,0,0,0.1)
public IsColor getBorderColor()
rgba(0,0,0,0.1)
public void setBorderWidth(int borderWidth)
borderWidth
- the width of the line in pixels.public int getBorderWidth()
3
public void setBorderDash(int... borderDash)
borderDash
- the line dash pattern used when stroking lines, using an array of values which specify alternating lengths of lines and gaps which describe the pattern.public java.util.List<java.lang.Integer> getBorderDash()
public void setBorderDashOffset(int borderDashOffset)
borderDashOffset
- the line dash pattern offset or "phase".public int getBorderDashOffset()
0
public void setBorderCapStyle(CapStyle borderCapStyle)
borderCapStyle
- how the end points of every line are drawn.CapStyle
public CapStyle getBorderCapStyle()
CapStyle
public void setBorderJoinStyle(JoinStyle borderJoinStyle)
borderJoinStyle
- There are three possible values for this property: round, bevel and miter. By default this property is set to miter.JoinStyle
public JoinStyle getBorderJoinStyle()
JoinStyle
public void setFill(Fill fill)
fill
- how to fill the area under the line.Fill
public Fill getFill()
Fill
public void setLineTension(double lineTension)
lineTension
- curve tension of the linepublic double getLineTension()
0.4
public void setPointBackgroundColor(IsColor... pointBackgroundColor)
pointBackgroundColor
- array of the fill color for points.public void setPointBackgroundColor(java.lang.String... pointBackgroundColor)
pointBackgroundColor
- array of the fill color for points.public java.util.List<java.lang.String> getPointBackgroundColorAsString()
public java.util.List<IsColor> getPointBackgroundColor()
public void setPointBorderColor(IsColor... pointBorderColor)
pointBorderColor
- array of the border color for points.public void setPointBorderColor(java.lang.String... pointBorderColor)
pointBorderColor
- array of the border color for points.public java.util.List<java.lang.String> getPointBorderColorAsString()
public java.util.List<IsColor> getPointBorderColor()
public void setPointBorderWidth(int... pointBorderWidth)
pointBorderWidth
- array of the width of the point border in pixels.public java.util.List<java.lang.Integer> getPointBorderWidth()
public void setPointHitRadius(double... pointHitRadius)
pointHitRadius
- array of the pixel size of the non-displayed point.public java.util.List<java.lang.Double> getPointHitRadius()
public void setPointHoverBackgroundColor(IsColor... pointHoverBackgroundColor)
pointHoverBackgroundColor
- array of the point background color when hovered.public void setPointHoverBackgroundColor(java.lang.String... pointHoverBackgroundColor)
pointHoverBackgroundColor
- array of the point background color when hovered.public java.util.List<java.lang.String> getPointHoverBackgroundColorAsString()
public java.util.List<IsColor> getPointHoverBackgroundColor()
public void setPointHoverBorderColor(IsColor... pointHoverBorderColor)
pointHoverBorderColor
- array of the point border color when hovered.public void setPointHoverBorderColor(java.lang.String... pointHoverBorderColor)
pointHoverBorderColor
- array of the point border color when hovered.public java.util.List<java.lang.String> getPointHoverBorderColorAsString()
public java.util.List<IsColor> getPointHoverBorderColor()
public void setPointHoverBorderWidth(int... pointHoverBorderWidth)
pointHoverBorderWidth
- array of the border width of point when hovered.public java.util.List<java.lang.Integer> getPointHoverBorderWidth()
public void setPointHoverRadius(double... pointHoverRadius)
pointHoverRadius
- array of the radius of the point when hovered.public java.util.List<java.lang.Double> getPointHoverRadius()
public void setPointRadius(double... pointRadius)
pointRadius
- array of the radius of the point shape.public java.util.List<java.lang.Double> getPointRadius()
public void setPointStyle(PointStyle... pointStyle)
pointStyle
- array of the style of the point.PointStyle
public JsEnumValueArrayList<PointStyle> getPointStyle()
PointStyle.circle
PointStyle