For more information, see https://www.chartjs.org/docs/latest/configuration/title.html
{ display : Maybe Basics.Bool
, align : Maybe Chartjs.Common.Align
, position : Maybe Chartjs.Common.Position
, padding : Maybe Basics.Int
, text : Maybe String
, font : Maybe Chartjs.Options.Font.FontSpec
, color : Maybe Color
}
The Title is text that is drawn outside of the Chart
defaultTitle : Title
Create a blank title object
setDisplay : Basics.Bool -> Title -> Title
Is the title shown?
setAlign : Chartjs.Common.Align -> Title -> Title
Text alignment of the title
setPosition : Chartjs.Common.Position -> Title -> Title
Position of the title
setPadding : Basics.Int -> Title -> Title
Padding (in pixels) above and below the title text
setText : String -> Title -> Title
Title text to be displayed
setFont : Chartjs.Options.Font.FontSpec -> Title -> Title
Font properties to use for the title text
setColor : Color -> Title -> Title
Color for the title text