public abstract class PointDataset<T extends Dataset<T,O>,O> extends Dataset<T,O>
Constructor and Description |
---|
PointDataset() |
Modifier and Type | Method and Description |
---|---|
T |
addBorderDash(Integer borderDash) |
T |
addPointBackgroundColor(Color pointBackgroundColor) |
T |
addPointBorderColor(Color pointBorderColor) |
T |
addPointBorderWidth(Integer pointBorderWidth) |
T |
addPointHitRadius(Integer pointHitRadius) |
T |
addPointHoverBackgroundColor(Color pointHoverBackgroundColor) |
T |
addPointHoverBorderColor(Color pointHoverBorderColor) |
T |
addPointHoverBorderWidth(Integer pointHoverBorderWidth) |
T |
addPointHoverRadius(Integer pointHoverRadius) |
T |
addPointRadius(Integer pointRadius) |
T |
addPointStyle(PointStyle pointStyle) |
Color |
getBackgroundColor() |
BorderCapStyle |
getBorderCapStyle() |
Color |
getBorderColor() |
List<Integer> |
getBorderDash() |
Float |
getBorderDashOffset() |
BorderJoinStyle |
getBorderJoinStyle() |
Integer |
getBorderWidth() |
Fill |
getFill() |
String |
getLabel() |
Float |
getLineTension() |
List<Color> |
getPointBackgroundColor() |
List<Color> |
getPointBorderColor() |
List<Integer> |
getPointBorderWidth() |
List<Integer> |
getPointHitRadius() |
List<Color> |
getPointHoverBackgroundColor() |
List<Color> |
getPointHoverBorderColor() |
List<Integer> |
getPointHoverBorderWidth() |
List<Integer> |
getPointHoverRadius() |
List<Integer> |
getPointRadius() |
List<PointStyle> |
getPointStyle() |
T |
setBackgroundColor(Color backgroundColor)
The fill color under the line.
|
T |
setBorderCapStyle(BorderCapStyle borderCapStyle)
Default line cap style.
|
T |
setBorderColor(Color borderColor)
The color of the line.
|
T |
setBorderDash(List<Integer> borderDash)
Default line dash.
|
T |
setBorderDashOffset(Float borderDashOffset)
Default line dash offset.
|
T |
setBorderJoinStyle(BorderJoinStyle borderJoinStyle)
Default line join style.
|
T |
setBorderWidth(Integer borderWidth)
The width of the line in pixels
|
T |
setFill(Fill fill)
If true, fill the area under the line
|
T |
setLabel(String label)
The label for the dataset which appears in the legend and tooltips
|
T |
setLineTension(Float lineTension)
Bezier curve tension of the line.
|
T |
setPointBackgroundColor(List<Color> pointBackgroundColor)
The fill color for points
|
T |
setPointBorderColor(List<Color> pointBorderColor)
The border color for points.
|
T |
setPointBorderWidth(List<Integer> pointBorderWidth)
The width of the point border in pixels
|
T |
setPointHitRadius(List<Integer> pointHitRadius)
The pixel size of the non-displayed point that reacts to mouse events
|
T |
setPointHoverBackgroundColor(List<Color> pointHoverBackgroundColor)
Point background color when hovered
|
T |
setPointHoverBorderColor(List<Color> pointHoverBorderColor)
Point border color when hovered
|
T |
setPointHoverBorderWidth(List<Integer> pointHoverBorderWidth)
Border width of point when hovered
|
T |
setPointHoverRadius(List<Integer> pointHoverRadius)
The radius of the point when hovered
|
T |
setPointRadius(List<Integer> pointRadius)
The radius of the point shape.
|
T |
setPointStyle(List<PointStyle> pointStyle)
The style of point.
|
public String getLabel()
setLabel(String)
public T setLabel(String label)
public Fill getFill()
setFill(Fill)
public Float getLineTension()
setLineTension(Float)
public T setLineTension(Float lineTension)
public Color getBackgroundColor()
setBackgroundColor(Color)
public T setBackgroundColor(Color backgroundColor)
public Integer getBorderWidth()
setBorderWidth(Integer)
public Color getBorderColor()
setBorderColor(Color)
public BorderCapStyle getBorderCapStyle()
setBorderCapStyle(BorderCapStyle)
public T setBorderCapStyle(BorderCapStyle borderCapStyle)
butt
The ends of lines are squared off at the endpoints.
round
The ends of lines are rounded.
square
The ends of lines are squared off by adding a box with
an equal width and half the height of the line's thickness.
public List<Integer> getBorderDash()
setBorderDash(List)
public T addBorderDash(Integer borderDash)
setBorderDash(List)
public T setBorderDash(List<Integer> borderDash)
public Float getBorderDashOffset()
setBorderDashOffset(Float)
public T setBorderDashOffset(Float borderDashOffset)
public BorderJoinStyle getBorderJoinStyle()
setBorderJoinStyle(BorderJoinStyle)
public T setBorderJoinStyle(BorderJoinStyle borderJoinStyle)
Default line join style.
round
Rounds off the corners of a shape by filling an
additional sector of disc centered at the common endpoint of connected
segments. The radius for these rounded corners is equal to the line
width.
bevel
Fills an additional triangular area between the common
endpoint of connected segments, and the separate outside rectangular
corners of each segment.
miter
Connected segments are joined by extending their
outside edges to connect at a single point, with the effect of filling an
additional lozenge-shaped area. This setting is effected by the
miterLimit property.
public List<Color> getPointBorderColor()
setPointBorderColor(List)
public T addPointBorderColor(Color pointBorderColor)
setPointBorderColor(List)
public T setPointBorderColor(List<Color> pointBorderColor)
public List<Color> getPointBackgroundColor()
setPointBackgroundColor(List)
public T addPointBackgroundColor(Color pointBackgroundColor)
setPointBackgroundColor(List)
public T setPointBackgroundColor(List<Color> pointBackgroundColor)
public List<Integer> getPointBorderWidth()
setPointBorderWidth(List)
public T addPointBorderWidth(Integer pointBorderWidth)
setPointBorderWidth(List)
public T setPointBorderWidth(List<Integer> pointBorderWidth)
public List<Integer> getPointRadius()
setPointRadius(List)
public T addPointRadius(Integer pointRadius)
setPointRadius(List)
public T setPointRadius(List<Integer> pointRadius)
public List<Integer> getPointHoverRadius()
setPointHoverRadius(List)
public T addPointHoverRadius(Integer pointHoverRadius)
setPointHoverRadius(List)
public T setPointHoverRadius(List<Integer> pointHoverRadius)
public List<Integer> getPointHitRadius()
setPointHitRadius(List)
public T addPointHitRadius(Integer pointHitRadius)
setPointHitRadius(List)
public T setPointHitRadius(List<Integer> pointHitRadius)
public List<Color> getPointHoverBackgroundColor()
setPointHoverBackgroundColor(List)
public T addPointHoverBackgroundColor(Color pointHoverBackgroundColor)
setPointHoverBackgroundColor(List)
public T setPointHoverBackgroundColor(List<Color> pointHoverBackgroundColor)
public List<Color> getPointHoverBorderColor()
setPointHoverBorderColor(List)
public T addPointHoverBorderColor(Color pointHoverBorderColor)
setPointHoverBorderColor(List)
public T setPointHoverBorderColor(List<Color> pointHoverBorderColor)
public List<Integer> getPointHoverBorderWidth()
setPointHoverBorderWidth(List)
public T addPointHoverBorderWidth(Integer pointHoverBorderWidth)
setPointHoverBorderWidth(List)
public T setPointHoverBorderWidth(List<Integer> pointHoverBorderWidth)
public List<PointStyle> getPointStyle()
setPointStyle(List)
public T addPointStyle(PointStyle pointStyle)
setPointStyle(List)
public T setPointStyle(List<PointStyle> pointStyle)
Copyright © 2020. All rights reserved.