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