Class ScaleTitle
java.lang.Object
software.xdev.chartjs.model.options.scales.ScaleTitle
The grid line configuration is nested under the scale configuration in the scaleLabel key. It defines options for the
scale title.
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetAlign()
getColor()
getFont()
getText()
setAlign
(ScaleLabelAlignment align) Font color for the scale title.setDisplay
(Boolean display) Defaultfalse
The text for the title.
-
Field Details
-
display
-
text
-
color
-
font
-
align
-
-
Constructor Details
-
ScaleTitle
public ScaleTitle()
-
-
Method Details
-
getAlign
-
setAlign
-
getFont
-
setFont
-
getDisplay
- See Also:
-
setDisplay
Default
false
-
getText
- See Also:
-
setText
The text for the title. (i.e. "# of People", "Response Choices")
Default
""
-
getColor
- See Also:
-
setColor
Font color for the scale title.
Default
"#666"
-