Class Point
java.lang.Object
software.xdev.chartjs.model.options.elements.Point
Point elements are used to represent the points in a line chart or a bubble chart.
When set, these options apply to all objects of that type unless specifically overridden by the configuration attached to a dataset.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetBackgroundColor
(Object backgroundColor) Default point fill colorsetBorderColor
(Object borderColor) Default point stroke colorsetBorderWidth
(Integer borderWidth) Default point stroke widthsetHitRadius
(Integer hitRadius) Extra radius added to point radius for hit detectionsetHoverBorderWidth
(Integer hoverBorderWidth) Default stroke width when hoveredsetHoverRadius
(Integer hoverRadius) Default point radius when hoveredsetPointStyle
(PointStyle pointStyle) Default point styleDefault point radius
-
Field Details
-
radius
-
pointStyle
-
backgroundColor
-
borderWidth
-
borderColor
-
hitRadius
-
hoverRadius
-
hoverBorderWidth
-
-
Constructor Details
-
Point
public Point()
-
-
Method Details
-
getRadius
- See Also:
-
setRadius
Default point radius
Default
3
-
getPointStyle
- See Also:
-
setPointStyle
Default point style
Default
'circle'
-
getBackgroundColor
- See Also:
-
setBackgroundColor
Default point fill color
Default
'rgba(0,0,0,0.1)'
-
getBorderWidth
- See Also:
-
setBorderWidth
Default point stroke width
Default
1
-
getBorderColor
- See Also:
-
setBorderColor
Default point stroke color
Default
'rgba(0,0,0,0.1)'
-
getHitRadius
- See Also:
-
setHitRadius
Extra radius added to point radius for hit detection
Default
1
-
getHoverRadius
- See Also:
-
setHoverRadius
Default point radius when hovered
Default
4
-
getHoverBorderWidth
- See Also:
-
setHoverBorderWidth
Default stroke width when hovered
Default
1
-