Class PointLabels
java.lang.Object
software.xdev.chartjs.model.options.scales.PointLabels
The following options are used to configure the point labels that are shown on the perimeter of the scale. They can
be found in the pointLabels sub options. Note that these options only apply if lineArc is false.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected JavaScriptFunction
protected Color
protected String
protected BigDecimal
protected FontStyle
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionsetCallback
(JavaScriptFunction callback) Callback function to transform data label to axis labelsetFontColor
(Color fontColor) Font colorsetFontFamily
(String fontFamily) Font family to rendersetFontSize
(BigDecimal fontSize) Font size in pixelssetFontStyle
(FontStyle fontStyle) Font Style to use
-
Field Details
-
callback
-
fontColor
-
fontFamily
-
fontSize
-
fontStyle
-
-
Constructor Details
-
PointLabels
public PointLabels()
-
-
Method Details
-
getCallback
- See Also:
-
setCallback
Callback function to transform data label to axis label
Default
-
-
getFontColor
- See Also:
-
setFontColor
Font color
Default
'#666'
-
getFontFamily
- See Also:
-
setFontFamily
Font family to render
Default
"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"
-
getFontSize
- See Also:
-
setFontSize
Font size in pixels
Default
10
-
getFontStyle
- See Also:
-
setFontStyle
Font Style to use
Default
'normal'
-