Types for managing element configuration, see https://www.chartjs.org/docs/latest/configuration/elements.html
{ backgroundColor : Maybe Color
, borderColor : Maybe Color
, borderWidth : Maybe Basics.Int
}
Arc |
{ point : Maybe Point
, line : Maybe Line
, rectangle : Maybe Rectangle
, arc : Maybe Arc
}
Elements |
{ tension : Maybe Basics.Float
, backgroundColor : Maybe Color
, borderWidth : Maybe Basics.Int
, borderColor : Maybe Color
, borderCapStyle : Maybe Chartjs.Common.LineCap
, borderDash : Maybe (List Basics.Int)
, borderDashOffset : Maybe Basics.Int
, borderJoinStyle : Maybe Chartjs.Common.LineJoin
, capBezierPoints : Maybe Basics.Bool
, fill : Maybe LineFill
, stepped : Maybe Basics.Bool
}
Line |
LineFill |
{ radius : Maybe Basics.Int
, pointStyle : Maybe Chartjs.Common.PointStyle
, rotation : Maybe Basics.Int
, backgroundColor : Maybe Color
, borderWidth : Maybe Basics.Int
, borderColor : Maybe Color
, hitRadius : Maybe Basics.Int
, hoverRadius : Maybe Basics.Int
, hoverBorderWidth : Maybe Basics.Int
}
Point |
{ backgroundColor : Maybe Color
, borderWidth : Maybe Basics.Int
, borderColor : Maybe Color
, borderSkipped : Maybe Chartjs.Common.Position
}
Rectangle |
defaultElements : Elements
defaultElements |
defaultPoint : Point
defaultPoint |