Class Font
java.lang.Object
software.xdev.chartjs.model.options.scales.Font
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected String
protected BigDecimal
protected FontStyle
protected BigDecimal
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSize()
getStyle()
Font family for the scale title, follows CSS font-family options.setSize
(BigDecimal size) Font size for the scale title.Font style for the scale title, follows CSS font-style options (i.e.setWeight
(BigDecimal weight)
-
Field Details
-
family
-
size
-
style
-
weight
-
-
Constructor Details
-
Font
public Font()
-
-
Method Details
-
getFamily
-
setFamily
Font family for the scale title, follows CSS font-family options.
Default
"'Helvetica Neue', 'Helvetica', 'Arial', sans-serif"
-
getSize
-
setSize
Font size for the scale title.
Default
12
-
getStyle
-
setStyle
Font style for the scale title, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).
Default
"normal"
-
getWeight
-
setWeight
-