blissfully / elm-chartjs-webcomponent / Chartjs.Options.Legend

Types for managing legend configuration


type alias Labels =
{ boxWidth : Maybe Basics.Int
, fontSize : Maybe Basics.Int
, fontStyle : Maybe String
, fontColor : Maybe Color
, fontFamily : Maybe String
, padding : Maybe Basics.Int
, usePointStyle : Maybe Basics.Bool 
}

Labels |


type alias Legend =
{ display : Maybe Basics.Bool
, position : Maybe Chartjs.Common.Position
, fullWidth : Maybe Basics.Bool
, reverse : Maybe Basics.Bool
, labels : Maybe Labels 
}

Legend |

defaultLabels : Labels

defaultLabels |

defaultLegend : Legend

defaultLegend |