Class Font
java.lang.Object
software.xdev.chartjs.model.options.Font
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetSize()
getStyle()
Font family for the scale title, follows CSS font-family options.void
setLineHeight
(String lineHeight) Height of an individual line of textFont size for the scale title.Font style for the scale title, follows CSS font-style options (i.e. normal, italic, oblique, initial, inherit).
-
Field Details
-
family
-
size
-
style
-
weight
-
lineHeight
-
-
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
-
getLineHeight
- See Also:
-
setLineHeight
Height of an individual line of text
-