Attributes for altering the view of your area serie.
myAreaSerie : Plot.Element (Interaction YourMsg)
myAreaSerie =
line
[ stroke "deeppink"
, strokeWidth 2
, fill "red"
, opacity 0.5
, customAttrs
[ Svg.Events.onClick <| Custom MyClickMsg
, Svg.Events.onMouseOver <| Custom Glow
]
]
areaDataPointsSet the stroke color.
Set the stroke width (in pixels).
Set the opacity.
Set the fill color.
Add your own attributes. For events, see this example